changeset 10:3a312d091947

back to mainline
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Feb 2015 16:31:07 +0100
parents ecefd45026bf (current diff) 2cb2015b9934 (diff)
children dc81c1ad61c7
files
diffstat 2 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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}
--- 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
 ==========