rom-properties/appveyor.cmd
David Korth c3f48b43a7 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.
2020-02-23 12:52:15 -05:00

8 lines
355 B
Batchfile

@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 -DENABLE_PCH=ON
) ELSE (
cmake . -G "Visual Studio 12 2013" -DCMAKE_GENERATOR_TOOLSET=v120_xp -DENABLE_JPEG=ON -DBUILD_TESTING=ON -DENABLE_LTO=OFF -DENABLE_PCH=ON
)