comparison CMakeLists.txt @ 133:1969ff16457c

help
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Oct 2012 13:27:49 +0200
parents b09b0ffd9941
children bdc60d16cc98
comparison
equal deleted inserted replaced
132:5321f3609639 133:1969ff16457c
3 project(Orthanc) 3 project(Orthanc)
4 include(${CMAKE_SOURCE_DIR}/Resources/CMake/AutoGeneratedCode.cmake) 4 include(${CMAKE_SOURCE_DIR}/Resources/CMake/AutoGeneratedCode.cmake)
5 include(${CMAKE_SOURCE_DIR}/Resources/CMake/DownloadPackage.cmake) 5 include(${CMAKE_SOURCE_DIR}/Resources/CMake/DownloadPackage.cmake)
6 include(CheckIncludeFiles) 6 include(CheckIncludeFiles)
7 include(CheckIncludeFileCXX) 7 include(CheckIncludeFileCXX)
8
9 add_definitions(-DORTHANC_VERSION="mainline")
8 10
9 SET(STATIC_BUILD ON CACHE BOOL "Static build of the third-party libraries (necessary for Windows)") 11 SET(STATIC_BUILD ON CACHE BOOL "Static build of the third-party libraries (necessary for Windows)")
10 SET(STANDALONE_BUILD OFF CACHE BOOL "Standalone build (necessary for cross-compilation or binary releases)") 12 SET(STANDALONE_BUILD OFF CACHE BOOL "Standalone build (necessary for cross-compilation or binary releases)")
11 SET(ENABLE_SSL ON CACHE BOOL "Include support for SSL") 13 SET(ENABLE_SSL ON CACHE BOOL "Include support for SSL")
12 SET(BUILD_UNIT_TESTS ON CACHE BOOL "Build the unit tests") 14 SET(BUILD_UNIT_TESTS ON CACHE BOOL "Build the unit tests")