matricks / bam

Bam is a fast and flexible build system. Bam uses Lua to describe the build process. It's takes its inspiration for the script files from scons. While scons focuses on being 100% correct when building, bam makes a few sacrifices to acquire fast full and incremental build times.
http://matricks.github.com/bam
Other
146 stars 47 forks source link

Fixed bug where SetDefaultDrivers() would not detect MSVC correctly #87

Closed wc-duck closed 8 years ago

wc-duck commented 8 years ago

Failed on my installed version, MSVC 2010 ( cl.exe Compiler Version 16.00.30319.01 for x64 ).

This version of cl do not return 0 if run without any input but the error-code 2. This seems to be the best fix since ExecuteSilent() would return a negative value if the binary could not run.

I couldn't find a way to get cl.exe to run with 0 as an error-code.