comparison CMakeLists.txt @ 203:9283552c25df

db refactoring done
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Nov 2012 17:50:24 +0100
parents dfa2899d9960
children de640de989b8
comparison
equal deleted inserted replaced
202:1650557bd81a 203:9283552c25df
44 if (${STANDALONE_BUILD}) 44 if (${STANDALONE_BUILD})
45 # We embed all the resources in the binaries for standalone builds 45 # We embed all the resources in the binaries for standalone builds
46 add_definitions(-DORTHANC_STANDALONE=1) 46 add_definitions(-DORTHANC_STANDALONE=1)
47 EmbedResources( 47 EmbedResources(
48 PREPARE_DATABASE OrthancServer/PrepareDatabase.sql 48 PREPARE_DATABASE OrthancServer/PrepareDatabase.sql
49 PREPARE_DATABASE_2 OrthancServer/PrepareDatabase2.sql
50 ORTHANC_EXPLORER OrthancExplorer 49 ORTHANC_EXPLORER OrthancExplorer
51 CONFIGURATION_SAMPLE Resources/Configuration.json 50 CONFIGURATION_SAMPLE Resources/Configuration.json
52 ) 51 )
53 else() 52 else()
54 add_definitions( 53 add_definitions(
55 -DORTHANC_STANDALONE=0 54 -DORTHANC_STANDALONE=0
56 -DORTHANC_PATH=\"${CMAKE_SOURCE_DIR}\" 55 -DORTHANC_PATH=\"${CMAKE_SOURCE_DIR}\"
57 ) 56 )
58 EmbedResources( 57 EmbedResources(
59 PREPARE_DATABASE OrthancServer/PrepareDatabase.sql 58 PREPARE_DATABASE OrthancServer/PrepareDatabase.sql
60 PREPARE_DATABASE_2 OrthancServer/PrepareDatabase2.sql
61 CONFIGURATION_SAMPLE Resources/Configuration.json 59 CONFIGURATION_SAMPLE Resources/Configuration.json
62 ) 60 )
63 endif() 61 endif()
64 62
65 63