Mercurial > hg > orthanc-stone
comparison Applications/Samples/Sdl/CMakeLists.txt @ 1877:a2955abe4c2e
skeleton for the RenderingPlugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jan 2022 08:23:38 +0100 |
parents | 7053b8a0aaec |
children | a05529952510 |
comparison
equal
deleted
inserted
replaced
1876:b1f510e601d2 | 1877:a2955abe4c2e |
---|---|
47 set(ENABLE_SDL ON) | 47 set(ENABLE_SDL ON) |
48 SET(ENABLE_PUGIXML ON) # To test compilation of OsiriX annotations | 48 SET(ENABLE_PUGIXML ON) # To test compilation of OsiriX annotations |
49 | 49 |
50 include(${CMAKE_SOURCE_DIR}/../../Platforms/Sdl/OrthancStoneSdlConfiguration.cmake) | 50 include(${CMAKE_SOURCE_DIR}/../../Platforms/Sdl/OrthancStoneSdlConfiguration.cmake) |
51 include(${CMAKE_SOURCE_DIR}/Utilities.cmake) | 51 include(${CMAKE_SOURCE_DIR}/Utilities.cmake) |
52 include(${CMAKE_SOURCE_DIR}/../../../UnitTestsSources/UnitTestsSources.cmake) | 52 include(${CMAKE_SOURCE_DIR}/../../../OrthancStone/UnitTestsSources/UnitTestsSources.cmake) |
53 | 53 |
54 if (NOT ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") | 54 if (NOT ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") |
55 # This include must be after "OrthancStoneConfiguration.cmake" to | 55 # This include must be after "OrthancStoneConfiguration.cmake" to |
56 # have "BOOST_SOURCES_DIR" defined | 56 # have "BOOST_SOURCES_DIR" defined |
57 include(${CMAKE_SOURCE_DIR}/BoostExtendedConfiguration.cmake) | 57 include(${CMAKE_SOURCE_DIR}/BoostExtendedConfiguration.cmake) |
119 | 119 |
120 add_custom_command( | 120 add_custom_command( |
121 TARGET UnitTests | 121 TARGET UnitTests |
122 POST_BUILD | 122 POST_BUILD |
123 COMMAND ${CMAKE_COMMAND} -E copy | 123 COMMAND ${CMAKE_COMMAND} -E copy |
124 "${CMAKE_SOURCE_DIR}/../../../UnitTestsSources/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json" | 124 "${CMAKE_SOURCE_DIR}/../../../OrthancStone/UnitTestsSources/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json" |
125 "$<TARGET_FILE_DIR:UnitTests>/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json" | 125 "$<TARGET_FILE_DIR:UnitTests>/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json" |
126 ) | 126 ) |
127 | 127 |
128 target_link_libraries(UnitTests OrthancStone ${DCMTK_LIBRARIES}) | 128 target_link_libraries(UnitTests OrthancStone ${DCMTK_LIBRARIES}) |