# HG changeset patch # User Sebastien Jodogne # Date 1425051067 -3600 # Node ID 3a312d091947879bd75c4e953e1f852da719a860 # Parent ecefd45026bf9b8e60450a676b0cf386920dace7# Parent 2cb2015b9934718613d7bf43702e41db11976dda back to mainline diff -r ecefd45026bf -r 3a312d091947 CMakeLists.txt --- a/CMakeLists.txt Thu Feb 26 16:55:37 2015 +0100 +++ b/CMakeLists.txt Fri Feb 27 16:31:07 2015 +0100 @@ -20,6 +20,9 @@ project(OrthancPostgreSQL) +set(ORTHANC_WEBVIEWER_VERSION "1.0") + + # Parameters of the build set(STATIC_BUILD OFF CACHE BOOL "Static build of the third-party libraries (necessary for Windows)") SET(STANDALONE_BUILD ON CACHE BOOL "Standalone build (all the resources are embedded, necessary for releases)") @@ -179,11 +182,16 @@ target_link_libraries(OrthancWebViewer ${GDCM_LIBRARIES} ${OS_LIBRARIES}) +message("Setting the version of the library to ${ORTHANC_WEBVIEWER_VERSION}") +set_target_properties(OrthancWebViewer PROPERTIES + VERSION ${ORTHANC_WEBVIEWER_VERSION} + SOVERSION ${ORTHANC_WEBVIEWER_VERSION}) + install( - TARGETS OrthancWebViewer - RUNTIME DESTINATION lib # Destination for Windows - LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux - ) + TARGETS OrthancWebViewer + RUNTIME DESTINATION lib # Destination for Windows + LIBRARY DESTINATION share/orthanc/plugins # Destination for Linux + ) add_executable(UnitTests ${CORE_SOURCES} diff -r ecefd45026bf -r 3a312d091947 NEWS --- a/NEWS Thu Feb 26 16:55:37 2015 +0100 +++ b/NEWS Fri Feb 27 16:31:07 2015 +0100 @@ -2,6 +2,11 @@ =============================== +Version 1.0.0 (2015-02-27) +========================== + +* Configuration options + 2015-02-25 ==========