Mercurial > hg > orthanc
comparison CMakeLists.txt @ 175:662af781a227
sample config file from command line
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 05 Nov 2012 12:31:02 +0100 |
parents | 262505043929 |
children | 81b6f3013738 |
comparison
equal
deleted
inserted
replaced
174:43471da12ab9 | 175:662af781a227 |
---|---|
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 ORTHANC_EXPLORER OrthancExplorer | 49 ORTHANC_EXPLORER OrthancExplorer |
50 CONFIGURATION_SAMPLE Resources/Configuration.json | |
50 ) | 51 ) |
51 else() | 52 else() |
52 add_definitions( | 53 add_definitions( |
53 -DORTHANC_STANDALONE=0 | 54 -DORTHANC_STANDALONE=0 |
54 -DORTHANC_PATH=\"${CMAKE_SOURCE_DIR}\" | 55 -DORTHANC_PATH=\"${CMAKE_SOURCE_DIR}\" |
55 ) | 56 ) |
56 EmbedResources( | 57 EmbedResources( |
57 PREPARE_DATABASE OrthancServer/PrepareDatabase.sql | 58 PREPARE_DATABASE OrthancServer/PrepareDatabase.sql |
59 CONFIGURATION_SAMPLE Resources/Configuration.json | |
58 ) | 60 ) |
59 endif() | 61 endif() |
60 | 62 |
61 | 63 |
62 # Prepare the third-party dependencies | 64 # Prepare the third-party dependencies |