comparison OrthancStone/UnitTestsSources/CMakeLists.txt @ 2117:48a7f05c3bd5 dicom-sr

integration mainline->dicom-sr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 09 Mar 2024 10:01:30 +0100
parents c23eef785569
children 16c01cc201e7
comparison
equal deleted inserted replaced
2105:ca376147db15 2117:48a7f05c3bd5
1 # Stone of Orthanc 1 # Stone of Orthanc
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics 2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
3 # Department, University Hospital of Liege, Belgium 3 # Department, University Hospital of Liege, Belgium
4 # Copyright (C) 2017-2023 Osimis S.A., Belgium 4 # Copyright (C) 2017-2024 Osimis S.A., Belgium
5 # Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium 5 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
6 # 6 #
7 # This program is free software: you can redistribute it and/or 7 # This program is free software: you can redistribute it and/or
8 # modify it under the terms of the GNU Lesser General Public License 8 # modify it under the terms of the GNU Lesser General Public License
9 # as published by the Free Software Foundation, either version 3 of 9 # as published by the Free Software Foundation, either version 3 of
10 # the License, or (at your option) any later version. 10 # the License, or (at your option) any later version.
57 ${BOOST_EXTENDED_SOURCES} 57 ${BOOST_EXTENDED_SOURCES}
58 ${GOOGLE_TEST_SOURCES} 58 ${GOOGLE_TEST_SOURCES}
59 ${ORTHANC_STONE_SOURCES} 59 ${ORTHANC_STONE_SOURCES}
60 ) 60 )
61 61
62 DefineSourceBasenameForTarget(UnitTests) 62 if (COMMAND DefineSourceBasenameForTarget)
63 DefineSourceBasenameForTarget(UnitTests)
64 endif()
63 65
64 add_custom_command( 66 add_custom_command(
65 TARGET UnitTests 67 TARGET UnitTests
66 POST_BUILD 68 POST_BUILD
67 COMMAND ${CMAKE_COMMAND} -E copy 69 COMMAND ${CMAKE_COMMAND} -E copy