mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 11:35:38 -04:00
Enable PCH in the Debian, travis-ci, and AppVeyor builds.
It was enabled by default on AppVeyor, but now we're explicit. This should reduce build times slightly on the Ubuntu PPA servers and travis-ci.
This commit is contained in:
parent
f6433dc768
commit
c3f48b43a7
@ -1,7 +1,7 @@
|
||||
@ECHO OFF
|
||||
cmake --version
|
||||
IF "%PLATFORM%" == "x64" (
|
||||
cmake . -G "Visual Studio 12 2013 Win64" -DCMAKE_GENERATOR_TOOLSET=v120_xp -DENABLE_JPEG=ON -DBUILD_TESTING=ON -DENABLE_LTO=OFF
|
||||
cmake . -G "Visual Studio 12 2013 Win64" -DCMAKE_GENERATOR_TOOLSET=v120_xp -DENABLE_JPEG=ON -DBUILD_TESTING=ON -DENABLE_LTO=OFF -DENABLE_PCH=ON
|
||||
) ELSE (
|
||||
cmake . -G "Visual Studio 12 2013" -DCMAKE_GENERATOR_TOOLSET=v120_xp -DENABLE_JPEG=ON -DBUILD_TESTING=ON -DENABLE_LTO=OFF
|
||||
cmake . -G "Visual Studio 12 2013" -DCMAKE_GENERATOR_TOOLSET=v120_xp -DENABLE_JPEG=ON -DBUILD_TESTING=ON -DENABLE_LTO=OFF -DENABLE_PCH=ON
|
||||
)
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -23,7 +23,8 @@ CMAKE_OPTIONS := \
|
||||
-DBUILD_CINNAMON=ON \
|
||||
-DBUILD_CLI=ON \
|
||||
-DENABLE_PVRTC=ON \
|
||||
-DENABLE_LTO=ON
|
||||
-DENABLE_LTO=ON \
|
||||
-DENABLE_PCH=ON
|
||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
CMAKE_OPTIONS += -DBUILD_TESTING=ON
|
||||
endif
|
||||
|
@ -11,8 +11,8 @@ case "$OSTYPE" in
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DSPLIT_DEBUG=OFF \
|
||||
-DENABLE_PCH=OFF \
|
||||
-DENABLE_LTO=OFF \
|
||||
-DENABLE_PCH=ON \
|
||||
-DBUILD_TESTING=ON \
|
||||
-DENABLE_JPEG=ON \
|
||||
-DENABLE_NLS=OFF \
|
||||
@ -25,6 +25,7 @@ case "$OSTYPE" in
|
||||
cmake .. \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DENABLE_LTO=OFF \
|
||||
-DENABLE_PCH=ON \
|
||||
-DBUILD_TESTING=ON \
|
||||
-DENABLE_JPEG=ON \
|
||||
-DENABLE_NLS=ON \
|
||||
|
Loading…
Reference in New Issue
Block a user