Mercurial > hg > orthanc
comparison CMakeLists.txt @ 263:3b3525dee661 Orthanc-0.3.1
fix build
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 09 Dec 2012 15:01:00 +0100 |
parents | 9e24c33c3361 |
children | 9cd240cfd3a6 58f969933720 |
comparison
equal
deleted
inserted
replaced
261:9e24c33c3361 | 263:3b3525dee661 |
---|---|
141 | 141 |
142 | 142 |
143 | 143 |
144 if(NOT ONLY_CORE_LIBRARY) | 144 if(NOT ONLY_CORE_LIBRARY) |
145 add_library(ServerLibrary | 145 add_library(ServerLibrary |
146 ${DCMTK_SOURCES} | |
146 OrthancServer/DicomProtocol/DicomFindAnswers.cpp | 147 OrthancServer/DicomProtocol/DicomFindAnswers.cpp |
147 OrthancServer/DicomProtocol/DicomServer.cpp | 148 OrthancServer/DicomProtocol/DicomServer.cpp |
148 OrthancServer/DicomProtocol/DicomUserConnection.cpp | 149 OrthancServer/DicomProtocol/DicomUserConnection.cpp |
149 OrthancServer/FromDcmtkBridge.cpp | 150 OrthancServer/FromDcmtkBridge.cpp |
150 OrthancServer/Internals/CommandDispatcher.cpp | 151 OrthancServer/Internals/CommandDispatcher.cpp |
163 | 164 |
164 # Ensure autogenerated code is built before building ServerLibrary | 165 # Ensure autogenerated code is built before building ServerLibrary |
165 add_dependencies(ServerLibrary CoreLibrary) | 166 add_dependencies(ServerLibrary CoreLibrary) |
166 | 167 |
167 add_executable(Orthanc | 168 add_executable(Orthanc |
168 ${DCMTK_SOURCES} | |
169 OrthancServer/main.cpp | 169 OrthancServer/main.cpp |
170 ) | 170 ) |
171 | 171 |
172 target_link_libraries(Orthanc ServerLibrary CoreLibrary) | 172 target_link_libraries(Orthanc ServerLibrary CoreLibrary) |
173 | 173 |