comparison SQLite/CMakeLists.txt @ 425:c1b0f3c4e1f5

sync Orthanc code
author Alain Mazy <am@osimis.io>
date Mon, 13 Nov 2023 20:37:04 +0100
parents 3d6886f3e5b3
children 2b797871eff6
comparison
equal deleted inserted replaced
423:7d2ba3ece4ee 425:c1b0f3c4e1f5
95 VERSION ${ORTHANC_PLUGIN_VERSION} 95 VERSION ${ORTHANC_PLUGIN_VERSION}
96 SOVERSION ${ORTHANC_PLUGIN_VERSION} 96 SOVERSION ${ORTHANC_PLUGIN_VERSION}
97 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1 97 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1
98 ) 98 )
99 99
100 DefineSourceBasenameForTarget(OrthancSQLiteIndex)
101
100 install( 102 install(
101 TARGETS OrthancSQLiteIndex # OrthancSQLiteStorage TODO 103 TARGETS OrthancSQLiteIndex # OrthancSQLiteStorage TODO
102 RUNTIME DESTINATION lib # Destination for Windows 104 RUNTIME DESTINATION lib # Destination for Windows
103 LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux 105 LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux
104 ) 106 )
115 117
116 target_link_libraries(UnitTests ${GOOGLE_TEST_LIBRARIES}) 118 target_link_libraries(UnitTests ${GOOGLE_TEST_LIBRARIES})
117 set_target_properties(UnitTests PROPERTIES 119 set_target_properties(UnitTests PROPERTIES
118 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0 120 COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=0
119 ) 121 )
122
123 DefineSourceBasenameForTarget(UnitTests)