comparison CMakeLists.txt @ 389:9aa8ecbeeeb9

dynamically linking against Mongoose
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Apr 2013 12:36:39 +0200
parents 37f3e20b5add
children 2d269089078f
comparison
equal deleted inserted replaced
387:ff647eedfbe1 389:9aa8ecbeeeb9
16 # Advanced parameters (for Debian packaging) 16 # Advanced parameters (for Debian packaging)
17 SET(USE_DYNAMIC_JSONCPP OFF CACHE BOOL "Use the dynamic version of JsonCpp (only for Debian sid)") 17 SET(USE_DYNAMIC_JSONCPP OFF CACHE BOOL "Use the dynamic version of JsonCpp (only for Debian sid)")
18 SET(USE_DYNAMIC_GOOGLE_LOG ON CACHE BOOL "Use the dynamic version of Google Log") 18 SET(USE_DYNAMIC_GOOGLE_LOG ON CACHE BOOL "Use the dynamic version of Google Log")
19 SET(USE_DYNAMIC_GOOGLE_TEST ON CACHE BOOL "Use the dynamic version of Google Test (not for Debian sid)") 19 SET(USE_DYNAMIC_GOOGLE_TEST ON CACHE BOOL "Use the dynamic version of Google Test (not for Debian sid)")
20 SET(USE_DYNAMIC_SQLITE ON CACHE BOOL "Use the dynamic version of SQLite") 20 SET(USE_DYNAMIC_SQLITE ON CACHE BOOL "Use the dynamic version of SQLite")
21 SET(USE_DYNAMIC_MONGOOSE OFF CACHE BOOL "Use the dynamic version of Mongoose")
21 SET(DEBIAN_FORCE_HARDENING OFF CACHE BOOL "Force the injection of Debian hardening flags (unrecommended)") 22 SET(DEBIAN_FORCE_HARDENING OFF CACHE BOOL "Force the injection of Debian hardening flags (unrecommended)")
22 SET(DEBIAN_USE_GTEST_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (only for Debian sid)") 23 SET(DEBIAN_USE_GTEST_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (only for Debian sid)")
23 SET(ONLY_CORE_LIBRARY OFF CACHE BOOL "Only build the core library") 24 SET(ONLY_CORE_LIBRARY OFF CACHE BOOL "Only build the core library")
24 25
25 mark_as_advanced(USE_DYNAMIC_JSONCPP) 26 mark_as_advanced(USE_DYNAMIC_JSONCPP)
31 mark_as_advanced(ONLY_CORE_LIBRARY) 32 mark_as_advanced(ONLY_CORE_LIBRARY)
32 33
33 # Some basic inclusions 34 # Some basic inclusions
34 include(CheckIncludeFiles) 35 include(CheckIncludeFiles)
35 include(CheckIncludeFileCXX) 36 include(CheckIncludeFileCXX)
37 include(CheckLibraryExists)
36 include(${CMAKE_SOURCE_DIR}/Resources/CMake/AutoGeneratedCode.cmake) 38 include(${CMAKE_SOURCE_DIR}/Resources/CMake/AutoGeneratedCode.cmake)
37 include(${CMAKE_SOURCE_DIR}/Resources/CMake/DownloadPackage.cmake) 39 include(${CMAKE_SOURCE_DIR}/Resources/CMake/DownloadPackage.cmake)
38 include(${CMAKE_SOURCE_DIR}/Resources/CMake/Compiler.cmake) 40 include(${CMAKE_SOURCE_DIR}/Resources/CMake/Compiler.cmake)
39 41
40 # Configuration of the standalone builds 42 # Configuration of the standalone builds