Mercurial > hg > orthanc
diff CMakeLists.txt @ 831:84513f2ee1f3
pch for unit tests and server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Jun 2014 12:15:45 +0200 |
parents | 6c6e3c18799c |
children | 51d1c98d86cc |
line wrap: on
line diff
--- a/CMakeLists.txt Mon Jun 02 12:03:46 2014 +0200 +++ b/CMakeLists.txt Mon Jun 02 12:15:45 2014 +0200 @@ -240,10 +240,14 @@ # Setup precompiled headers for Microsoft Visual Studio if (${MSVC}) - add_definitions(-DORTHANC_USE_PRECOMPILED_HEADERS=1) - ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS("PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_CORE_SOURCES) - ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS("PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_SERVER_SOURCES) - ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS("PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_UNIT_TESTS_SOURCES) + ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( + "PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_CORE_SOURCES) + + ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( + "PrecompiledHeadersServer.h" "Core/PrecompiledHeadersServer.cpp" ORTHANC_SERVER_SOURCES) + + ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( + "PrecompiledHeadersUnitTests.h" "Core/PrecompiledHeadersUnitTests.cpp" ORTHANC_UNIT_TESTS_SOURCES) endif()