Mercurial > hg > orthanc
comparison CMakeLists.txt @ 181:2dece1526c06
simplifying db schema
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Nov 2012 18:09:19 +0100 |
parents | 5739b4d10a4b |
children | baada606da3c |
comparison
equal
deleted
inserted
replaced
180:626777d01dc4 | 181:2dece1526c06 |
---|---|
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 | |
49 ORTHANC_EXPLORER OrthancExplorer | 50 ORTHANC_EXPLORER OrthancExplorer |
50 CONFIGURATION_SAMPLE Resources/Configuration.json | 51 CONFIGURATION_SAMPLE Resources/Configuration.json |
51 ) | 52 ) |
52 else() | 53 else() |
53 add_definitions( | 54 add_definitions( |
54 -DORTHANC_STANDALONE=0 | 55 -DORTHANC_STANDALONE=0 |
55 -DORTHANC_PATH=\"${CMAKE_SOURCE_DIR}\" | 56 -DORTHANC_PATH=\"${CMAKE_SOURCE_DIR}\" |
56 ) | 57 ) |
57 EmbedResources( | 58 EmbedResources( |
58 PREPARE_DATABASE OrthancServer/PrepareDatabase.sql | 59 PREPARE_DATABASE OrthancServer/PrepareDatabase.sql |
60 PREPARE_DATABASE_2 OrthancServer/PrepareDatabase2.sql | |
59 CONFIGURATION_SAMPLE Resources/Configuration.json | 61 CONFIGURATION_SAMPLE Resources/Configuration.json |
60 ) | 62 ) |
61 endif() | 63 endif() |
62 | 64 |
63 | 65 |
163 UnitTests/MessageWithDestination.cpp | 165 UnitTests/MessageWithDestination.cpp |
164 UnitTests/SQLite.cpp | 166 UnitTests/SQLite.cpp |
165 UnitTests/SQLiteChromium.cpp | 167 UnitTests/SQLiteChromium.cpp |
166 UnitTests/Versions.cpp | 168 UnitTests/Versions.cpp |
167 UnitTests/Zip.cpp | 169 UnitTests/Zip.cpp |
170 UnitTests/ServerIndex.cpp | |
168 ) | 171 ) |
169 target_link_libraries(UnitTests ServerLibrary CoreLibrary) | 172 target_link_libraries(UnitTests ServerLibrary CoreLibrary) |
170 endif() | 173 endif() |
171 | 174 |
172 | 175 |