Mercurial > hg > orthanc-stone
comparison OrthancStone/UnitTestsSources/CMakeLists.txt @ 1880:93c3f9234286
simplifying TestStructureSet.cpp
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jan 2022 09:47:36 +0100 |
parents | a2955abe4c2e |
children | a05529952510 |
comparison
equal
deleted
inserted
replaced
1879:b4486f43394a | 1880:93c3f9234286 |
---|---|
18 # License along with this program. If not, see | 18 # License along with this program. If not, see |
19 # <http://www.gnu.org/licenses/>. | 19 # <http://www.gnu.org/licenses/>. |
20 | 20 |
21 | 21 |
22 cmake_minimum_required(VERSION 2.8.10) | 22 cmake_minimum_required(VERSION 2.8.10) |
23 cmake_policy(SET CMP0058 NEW) | |
23 | 24 |
24 project(UnitTests) | 25 project(UnitTests) |
25 | 26 |
26 set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") | 27 set(ORTHANC_FRAMEWORK_DEFAULT_VERSION "mainline") |
27 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") | 28 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") |
52 ${BOOST_EXTENDED_SOURCES} | 53 ${BOOST_EXTENDED_SOURCES} |
53 ${GOOGLE_TEST_SOURCES} | 54 ${GOOGLE_TEST_SOURCES} |
54 ${ORTHANC_STONE_SOURCES} | 55 ${ORTHANC_STONE_SOURCES} |
55 ) | 56 ) |
56 | 57 |
58 add_custom_command( | |
59 TARGET UnitTests | |
60 POST_BUILD | |
61 COMMAND ${CMAKE_COMMAND} -E copy | |
62 "${CMAKE_SOURCE_DIR}/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json" | |
63 "$<TARGET_FILE_DIR:UnitTests>/72c773ac-5059f2c4-2e6a9120-4fd4bca1-45701661.json" | |
64 ) | |
65 | |
57 | 66 |
58 ##################################################################### | 67 ##################################################################### |
59 ## Generate the documentation if Doxygen is present | 68 ## Generate the documentation if Doxygen is present |
60 ##################################################################### | 69 ##################################################################### |
61 | 70 |