2
0
mirror of https://github.com/Alia5/GlosSI.git synced 2024-10-30 15:20:38 +00:00
GlosSI/buildSFML.ps1
2022-03-11 20:14:19 +01:00

13 lines
315 B
PowerShell

cd deps/SFML
if ($env:APPVEYOR -like "") {
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 ../..