-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathGenerateSolution.bat
More file actions
29 lines (21 loc) · 825 Bytes
/
GenerateSolution.bat
File metadata and controls
29 lines (21 loc) · 825 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
setlocal enableextensions
REM Generate Project Files for SuoraBuildTool
call "Code\SuoraBuildTool\GenerateSolutionForStandaloneCompilation.bat"
REM Make Directory for SuoraBuildTool.exe
mkdir "Binaries\Scripts\"
set MSBUILD_EXE="C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe"
if not exist %MSBUILD_EXE% goto MSBUILD_ERROR
%MSBUILD_EXE% "Code\SuoraBuildTool\SuoraBuildTool.vcxproj" /p:configuration=Dist /p:platform=x64
copy "Code\SuoraBuildTool\Build\Dist-windows-x86_64\SuoraBuildTool\SuoraBuildTool.exe" "Binaries\Scripts\SuoraBuildTool.exe"
call "Binaries\Scripts\SuoraBuildTool.exe"
pushd %~dp0\
call Code\Dependencies\premake\PremakeBinaries\premake5.exe vs2022
popd
PAUSE
exit
:MSBUILD_ERROR
echo Cannot find MSBuild.exe Path:
echo %MSBUILD_EXE%
pause
exit