changeset 2074:e160c324c32a

added DefineSourceBasenameForTarget is SDL samples
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 10 Jul 2023 22:06:49 +0200
parents ae56f7ea0e90
children d84bdcbd8bf1
files Applications/Samples/Sdl/CMakeLists.txt
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/Samples/Sdl/CMakeLists.txt	Thu Jun 29 12:38:32 2023 +0200
+++ b/Applications/Samples/Sdl/CMakeLists.txt	Mon Jul 10 22:06:49 2023 +0200
@@ -77,6 +77,8 @@
   ${BOOST_EXTENDED_SOURCES}
   )
 
+DefineSourceBasenameForTarget(OrthancStone)
+
 message(${AUTOGENERATED_SOURCES})
 
 
@@ -94,6 +96,8 @@
   ../Common/SampleHelpers.h
   )
 
+DefineSourceBasenameForTarget(RtViewerSdl)
+
 target_link_libraries(RtViewerSdl OrthancStone ${DCMTK_LIBRARIES})
 
 #############################
@@ -106,6 +110,8 @@
   SingleFrameViewer/SdlSimpleViewer.cpp
   )
 
+DefineSourceBasenameForTarget(SdlSimpleViewer)
+
 target_link_libraries(SdlSimpleViewer OrthancStone ${DCMTK_LIBRARIES})
 
 #############################
@@ -116,6 +122,8 @@
   ${UNIT_TESTS_SOURCES}
   )
 
+DefineSourceBasenameForTarget(UnitTests)
+
 target_link_libraries(UnitTests OrthancStone)
 
 add_custom_command(