Mercurial > hg > orthanc-wsi
changeset 255:cf20f8417eaa
introduction of DefineSourceBasenameForTarget()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Jul 2023 17:41:41 +0200 |
parents | 20a730889ae2 |
children | 7deea131c3c0 fb689ed55c09 |
files | Applications/CMakeLists.txt ViewerPlugin/CMakeLists.txt |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/CMakeLists.txt Fri Jul 07 17:38:07 2023 +0200 +++ b/Applications/CMakeLists.txt Fri Jul 07 17:41:41 2023 +0200 @@ -197,6 +197,8 @@ ${OPENJPEG_SOURCES} ) +DefineSourceBasenameForTarget(OrthancWSIFramework) + ##################################################################### ## Build the WSI DICOM-izer @@ -226,6 +228,8 @@ ${DICOMIZER_RESOURCES} ) +DefineSourceBasenameForTarget(OrthancWSIDicomizer) + target_link_libraries(OrthancWSIDicomizer OrthancWSIFramework ${DCMTK_LIBRARIES}) install( @@ -262,6 +266,8 @@ ${DICOM_TO_TIFF_RESOURCES} ) +DefineSourceBasenameForTarget(OrthancWSIDicomToTiff) + target_link_libraries(OrthancWSIDicomToTiff OrthancWSIFramework ${DCMTK_LIBRARIES}) install(
--- a/ViewerPlugin/CMakeLists.txt Fri Jul 07 17:38:07 2023 +0200 +++ b/ViewerPlugin/CMakeLists.txt Fri Jul 07 17:41:41 2023 +0200 @@ -236,6 +236,8 @@ ${OPENJPEG_SOURCES} ) +DefineSourceBasenameForTarget(OrthancWSI) + message("Setting the version of the library to ${ORTHANC_WSI_VERSION}") set_target_properties(OrthancWSI PROPERTIES VERSION ${ORTHANC_WSI_VERSION}