comparison CMakeLists.txt @ 384:18fe778eeb95 lua-scripting

wrapper around lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Apr 2013 16:59:31 +0200
parents b45bc565d82a
children 7dec4f3c922c
comparison
equal deleted inserted replaced
382:b45bc565d82a 384:18fe778eeb95
77 77
78 # Prepare the embedded files 78 # Prepare the embedded files
79 set(EMBEDDED_FILES 79 set(EMBEDDED_FILES
80 PREPARE_DATABASE ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/PrepareDatabase.sql 80 PREPARE_DATABASE ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/PrepareDatabase.sql
81 CONFIGURATION_SAMPLE ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Configuration.json 81 CONFIGURATION_SAMPLE ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Configuration.json
82 LUA_TOOLBOX ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Toolbox.lua
82 ) 83 )
83 84
84 if (${STANDALONE_BUILD}) 85 if (${STANDALONE_BUILD})
85 # We embed all the resources in the binaries for standalone builds 86 # We embed all the resources in the binaries for standalone builds
86 add_definitions(-DORTHANC_STANDALONE=1) 87 add_definitions(-DORTHANC_STANDALONE=1)
199 UnitTests/SQLite.cpp 200 UnitTests/SQLite.cpp
200 UnitTests/SQLiteChromium.cpp 201 UnitTests/SQLiteChromium.cpp
201 UnitTests/ServerIndex.cpp 202 UnitTests/ServerIndex.cpp
202 UnitTests/Versions.cpp 203 UnitTests/Versions.cpp
203 UnitTests/Zip.cpp 204 UnitTests/Zip.cpp
205 UnitTests/Lua.cpp
204 UnitTests/main.cpp 206 UnitTests/main.cpp
205 ) 207 )
206 target_link_libraries(UnitTests ServerLibrary CoreLibrary) 208 target_link_libraries(UnitTests ServerLibrary CoreLibrary)
207 endif() 209 endif()
208 endif() 210 endif()