Experimental MS Build integration (w. premake support) + toy raytracer project #1432
ishani
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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)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
Beta Was this translation helpful? Give feedback.
All reactions