comparison CMakeLists.txt @ 835:a15ad019bbec

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 02 Jun 2014 12:21:50 +0200
parents 94e65f7e426f
children 22964c7ff1c3
comparison
equal deleted inserted replaced
834:94e65f7e426f 835:a15ad019bbec
238 ## Build the core of Orthanc 238 ## Build the core of Orthanc
239 ##################################################################### 239 #####################################################################
240 240
241 # Setup precompiled headers for Microsoft Visual Studio 241 # Setup precompiled headers for Microsoft Visual Studio
242 if (${MSVC}) 242 if (${MSVC})
243 add_definitions(-DORTHANC_USE_PRECOMPILED_HEADERS=1)
244
243 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( 245 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS(
244 "PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_CORE_SOURCES) 246 "PrecompiledHeaders.h" "Core/PrecompiledHeaders.cpp" ORTHANC_CORE_SOURCES)
245 247
246 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS( 248 ADD_VISUAL_STUDIO_PRECOMPILED_HEADERS(
247 "PrecompiledHeadersServer.h" "OrthancServer/PrecompiledHeadersServer.cpp" ORTHANC_SERVER_SOURCES) 249 "PrecompiledHeadersServer.h" "OrthancServer/PrecompiledHeadersServer.cpp" ORTHANC_SERVER_SOURCES)