Use the MSBuild that comes with Visual Studio

See http://msdn.microsoft.com/en-us/library/hh162058.aspx
This commit is contained in:
Adam Roben 2014-06-27 12:06:13 -04:00
parent 918f38e13f
commit f8b44a1785

View file

@ -25,7 +25,8 @@ def build():
return subprocess.call(['make'])
assert sys.platform == 'win32', sys.platform
msbuild = os.path.join(os.environ['windir'], 'Microsoft.NET', 'Framework', 'v4.0.30319', 'MSBuild.exe')
program_files = os.environ.get('PROGRAMFILES(X86)', os.environ['PROGRAMFILES'])
msbuild = os.path.join(program_files, 'MSBuild', '12.0', 'Bin', 'MSBuild.exe')
return subprocess.call([msbuild, 'brightray.sln'])