Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Experimental MS Build integration (w. premake support) + toy raytracer project #1432

ishani started this conversation in Show and tell
Discussion options

I wanted to spend a few days messing with cppfront properly and wanted a few creature comforts while doing so - so I spent a few days putting together a functioning MS Build integration to automate the dependency & build process in Visual Studio, added that into premake and bolted on an intermediary tool that runs clang-format on the cpp1 output (I found that easier to read & debug while trying to learn what cpp2 is doing)

options

With all that in place, I kicked it about by writing a goofy little raytracer .. as it's more fun when test code ends up making cute/broken pictures as an output.

Got to play with writing my own metafunction (the power of these is something I've wished for in c++ for decades, love it) and finding a performance trap in the cpp2 support library (i'll log that properly elsewhere, but it was this) along the way. All in all I had a pretty good time with the new syntax. I think most of my complaints or confusions have already been brought up elsewhere on these discussions. Definitely looking forward to see where it goes!

Can't say my stuff is ready for any kind of serious usage but feel free to cannabalise or customise to your own ends, or tell me about any wildly incorrect cpp2 usage 😱

https://github.com/ishani/cppfront-msbuild

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /