comparison Resources/Samples/RestApi/CMakeLists.txt @ 517:b2b56b4e33b0

simplifications to cmake
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Aug 2013 14:47:03 +0200
parents eb5fb5501569
children
comparison
equal deleted inserted replaced
515:a8be42bcf2bb 517:b2b56b4e33b0
20 20
21 PREFIX ${CMAKE_BINARY_DIR}/Orthanc/ 21 PREFIX ${CMAKE_BINARY_DIR}/Orthanc/
22 UPDATE_COMMAND "" 22 UPDATE_COMMAND ""
23 SOURCE_DIR ${CMAKE_BINARY_DIR}/Orthanc/src/orthanc/ 23 SOURCE_DIR ${CMAKE_BINARY_DIR}/Orthanc/src/orthanc/
24 CMAKE_COMMAND ${CMAKE_COMMAND} 24 CMAKE_COMMAND ${CMAKE_COMMAND}
25 CMAKE_ARGS -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DUSE_DYNAMIC_GOOGLE_LOG=OFF -DUSE_DYNAMIC_SQLITE=OFF -DONLY_CORE_LIBRARY=ON -DENABLE_SSL=OFF ${TOOLCHAIN} 25 CMAKE_ARGS -DSTATIC_BUILD=ON -DSTANDALONE_BUILD=ON -DUSE_DYNAMIC_GOOGLE_LOG=OFF -DUSE_DYNAMIC_SQLITE=OFF -DENABLE_SSL=OFF ${TOOLCHAIN}
26 BUILD_COMMAND $(MAKE) 26 BUILD_COMMAND $(MAKE) CoreLibrary
27 INSTALL_COMMAND "" 27 INSTALL_COMMAND ""
28 BUILD_IN_SOURCE 0 28 BUILD_IN_SOURCE 0
29 ) 29 )
30 30
31 ExternalProject_Get_Property(ORTHANC_CORE source_dir) 31 ExternalProject_Get_Property(ORTHANC_CORE source_dir)