mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Use precompiled headers for libopenrct2 with MSVC (#15997)
* Use precompiled headers for libopenrct2 with MSVC * Exclude PCH from duktape duktape needs all the warnings turned off and forcing PCH also enables warnings. As there is nothing duktape would consume from our header, remove forcing inclusion of that header into duktape. * Provide msbuild parameter for using PCH only in CI
This commit is contained in:
committed by
GitHub
parent
4afa56e373
commit
0871525850
@@ -26,7 +26,7 @@ if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then
|
||||
|
||||
# Build everything
|
||||
echo -e "\033[0;36mBuilding OpenRCT2 for Windows $CONFIGURATION|$PLATFORM...\033[0m"
|
||||
vstool msbuild openrct2.proj -t:build -p:Breakpad=true
|
||||
vstool msbuild openrct2.proj -t:build -p:Breakpad=true -p:UsePCH=true
|
||||
|
||||
# Create openrct2.exe and openrct2.com with correct subsystem
|
||||
cp bin/openrct2.exe bin/openrct2.com
|
||||
|
||||
Reference in New Issue
Block a user