comparison Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2450:ade8b4ddd8a6

Static linking against libuuid
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 03 Jan 2018 11:02:59 +0100
parents d9e3781d2023
children c50413a4092c
comparison
equal deleted inserted replaced
2449:e779c11c8eb2 2450:ade8b4ddd8a6
13 13
14 # Path to the root folder of the Orthanc distribution 14 # Path to the root folder of the Orthanc distribution
15 set(ORTHANC_ROOT ${CMAKE_CURRENT_LIST_DIR}/../..) 15 set(ORTHANC_ROOT ${CMAKE_CURRENT_LIST_DIR}/../..)
16 16
17 # Some basic inclusions 17 # Some basic inclusions
18 include(CMakePushCheckState)
19 include(CheckFunctionExists)
20 include(CheckIncludeFile)
21 include(CheckIncludeFileCXX)
18 include(CheckIncludeFiles) 22 include(CheckIncludeFiles)
19 include(CheckIncludeFileCXX)
20 include(CheckFunctionExists)
21 include(CheckLibraryExists) 23 include(CheckLibraryExists)
24 include(CheckStructHasMember)
25 include(CheckSymbolExists)
26 include(CheckTypeSize)
22 include(FindPythonInterp) 27 include(FindPythonInterp)
23 28
24 include(${CMAKE_CURRENT_LIST_DIR}/AutoGeneratedCode.cmake) 29 include(${CMAKE_CURRENT_LIST_DIR}/AutoGeneratedCode.cmake)
25 include(${CMAKE_CURRENT_LIST_DIR}/DownloadPackage.cmake) 30 include(${CMAKE_CURRENT_LIST_DIR}/DownloadPackage.cmake)
26 include(${CMAKE_CURRENT_LIST_DIR}/Compiler.cmake) 31 include(${CMAKE_CURRENT_LIST_DIR}/Compiler.cmake)
27 32
28 33
326 ##################################################################### 331 #####################################################################
327 ## Inclusion of mandatory third-party dependencies 332 ## Inclusion of mandatory third-party dependencies
328 ##################################################################### 333 #####################################################################
329 334
330 include(${CMAKE_CURRENT_LIST_DIR}/JsonCppConfiguration.cmake) 335 include(${CMAKE_CURRENT_LIST_DIR}/JsonCppConfiguration.cmake)
336 include(${CMAKE_CURRENT_LIST_DIR}/UuidConfiguration.cmake)
331 include(${CMAKE_CURRENT_LIST_DIR}/ZlibConfiguration.cmake) 337 include(${CMAKE_CURRENT_LIST_DIR}/ZlibConfiguration.cmake)
332 338
333 # We put Boost as the last dependency, as it is the heaviest to 339 # We put Boost as the last dependency, as it is the heaviest to
334 # configure, which allows to quickly spot problems when configuring 340 # configure, which allows to quickly spot problems when configuring
335 # static builds in other dependencies 341 # static builds in other dependencies
471 477
472 set(ORTHANC_CORE_SOURCES_DEPENDENCIES 478 set(ORTHANC_CORE_SOURCES_DEPENDENCIES
473 ${BOOST_SOURCES} 479 ${BOOST_SOURCES}
474 ${CIVETWEB_SOURCES} 480 ${CIVETWEB_SOURCES}
475 ${CURL_SOURCES} 481 ${CURL_SOURCES}
482 ${E2FSPROGS_SOURCES}
476 ${JSONCPP_SOURCES} 483 ${JSONCPP_SOURCES}
477 ${LIBICONV_SOURCES} 484 ${LIBICONV_SOURCES}
478 ${LIBJPEG_SOURCES} 485 ${LIBJPEG_SOURCES}
479 ${LIBP11_SOURCES} 486 ${LIBP11_SOURCES}
480 ${LIBPNG_SOURCES} 487 ${LIBPNG_SOURCES}