Mercurial > hg > orthanc-webviewer
changeset 8:49fa9c774465 OrthancWebViewer-1.0
versioning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Feb 2015 12:08:14 +0100 |
parents | fb9aca75eafd |
children | 2cb2015b9934 |
files | CMakeLists.txt |
diffstat | 1 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Fri Feb 27 11:56:07 2015 +0100 +++ b/CMakeLists.txt Fri Feb 27 12:08:14 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 lib # Destination for Linux - ) + TARGETS OrthancWebViewer + RUNTIME DESTINATION lib # Destination for Windows + LIBRARY DESTINATION lib # Destination for Linux + ) add_executable(UnitTests ${CORE_SOURCES}