comparison CMakeLists.txt @ 382:b45bc565d82a lua-scripting

cmake for lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Apr 2013 13:31:10 +0200
parents 69920b9875a3
children 18fe778eeb95
comparison
equal deleted inserted replaced
380:e6b4748c7d62 382:b45bc565d82a
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_LUA OFF CACHE BOOL "Use the dynamic version of Lua")
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)
69 include(${CMAKE_SOURCE_DIR}/Resources/CMake/ZlibConfiguration.cmake) 70 include(${CMAKE_SOURCE_DIR}/Resources/CMake/ZlibConfiguration.cmake)
70 include(${CMAKE_SOURCE_DIR}/Resources/CMake/SQLiteConfiguration.cmake) 71 include(${CMAKE_SOURCE_DIR}/Resources/CMake/SQLiteConfiguration.cmake)
71 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JsonCppConfiguration.cmake) 72 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JsonCppConfiguration.cmake)
72 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibCurlConfiguration.cmake) 73 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibCurlConfiguration.cmake)
73 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibPngConfiguration.cmake) 74 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibPngConfiguration.cmake)
75 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LuaConfiguration.cmake)
74 76
75 77
76 # Prepare the embedded files 78 # Prepare the embedded files
77 set(EMBEDDED_FILES 79 set(EMBEDDED_FILES
78 PREPARE_DATABASE ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/PrepareDatabase.sql 80 PREPARE_DATABASE ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/PrepareDatabase.sql