Fix prebuild scripts

pull/169/head
Peter Repukat 2 years ago
parent 88710fe83b
commit 8bc4fc36ab

@ -1,11 +0,0 @@
cd deps/SFML
if "%APPVEYOR%"=="" (
cmake.exe -S . -B out/Debug -DCMAKE_BUILD_TYPE=Debug
cmake.exe --build out/Debug --config Debug
)
cmake.exe -S . -B out/Release -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake.exe --build out/Release --config RelWithDebInfo
cd ../..

@ -0,0 +1,13 @@
cd deps/SFML
if ($env:APPVEYOR = ="") {
cmake.exe -S . -B out/Debug -DCMAKE_BUILD_TYPE=Debug
cmake.exe --build out/Debug --config Debug
}
$env:_CL_ = "/MDd"
cmake.exe -S . -B out/Release -DCMAKE_BUILD_TYPE=RelWithDebInfo
$env:_CL_ = "/MD"
cmake.exe --build out/Release --config RelWithDebInfo
cd ../..

@ -2,7 +2,9 @@ cd deps/ViGEmClient
git apply ../../ViGEm_BuildConfig.patch
$env:_CL_="/MDd"
msbuild.exe ViGEmCLient.sln /t:Build /p:Configuration=Debug_LIB /p:Platform=x64
$env:_CL_="/MD"
msbuild.exe ViGEmCLient.sln /t:Build /p:Configuration=Release_LIB /p:Platform=x64
cd ../..

@ -1,8 +1,8 @@
git submodule init
git submodule update --recursive
cmd.exe /c buildSFML.bat
cmd.exe /c buildViGEmClient.bat
.\buildSFML.ps1
.\buildViGEmClient.ps1
cd deps/traypp

Loading…
Cancel
Save