Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

At the moment I'm looking at trying to compile some stuff on Windows, that has Visual Studio project files, with clang instead of Microsoft C++. This would involve making msbuild do things it wasn't exactly designed to do (assuming I don't want to spend a lot of time duplicating what it does from scratch). It occurred to me maybe what I really need to do is modify msbuild, but of course that's out of the question, right? But just for the heck of it I ran a Google search...

... and msbuild was recently open sourced. The code is right there on Github.

Yeah, Microsoft of 2015 is very different from Microsoft of 1995, in good ways.



You actually can extend out MSBuild to use alternative compilers.

It already comes with rules for C#, VB, C++, F#, etc. Replacing the rules for C++ with another command line and set of parameters of quite doable! :)

(I happen to be using such a build system, unfortunately I wasn't the one who wrote it so I cannot provide any direct help, just encouragement!)

It can actually all work from within VS as well.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: