Use find_my_visual_studio to find msbuild (#43)
This commit is contained in:
parent
dab43de6fa
commit
7bac826c8a
BIN
find_my_visual_studio.exe
Normal file
BIN
find_my_visual_studio.exe
Normal file
Binary file not shown.
8
make.bat
8
make.bat
@ -1,10 +1,16 @@
|
||||
@echo off
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
call create_projects
|
||||
|
||||
echo building...
|
||||
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\msbuild" /property:GenerateFullPaths=true /t:build premake\doghook.sln /p:Configuration=Debug /verbosity:minimal
|
||||
for /F "tokens=*" %%a in ('find_my_visual_studio.exe msbuild_exe') do set msbuild_folder=%%a
|
||||
|
||||
echo msbuild is located at %msbuild_folder%
|
||||
|
||||
"%msbuild_folder%\\msbuild" /property:GenerateFullPaths=true /t:build premake\workspace.sln /p:Configuration=Debug /verbosity:minimal
|
||||
|
||||
echo done.
|
||||
|
||||
|
@ -1,10 +1,13 @@
|
||||
@echo off
|
||||
|
||||
pushd %~dp0
|
||||
|
||||
call create_projects
|
||||
|
||||
echo Building RELEASE...
|
||||
for /F "tokens=*" %%a in ('find_my_visual_studio.exe msbuild_exe') do set msbuild_folder=%%a
|
||||
echo msbuild is located at %msbuild_folder%
|
||||
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\MSBuild\\15.0\\Bin\\msbuild" /property:GenerateFullPaths=true /t:build premake\doghook.sln /p:Configuration=Release /verbosity:minimal
|
||||
"%msbuild_folder%\\msbuild" /property:GenerateFullPaths=true /t:build premake\workspace.sln /p:Configuration=Release /verbosity:minimal
|
||||
|
||||
echo done.
|
||||
|
||||
|
Reference in New Issue
Block a user