changeset 1:734066ca3b7d

shorter name
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 Sep 2018 11:40:42 +0200
parents 95226b754d9e
children b23f2d470d01
files CMakeLists.txt
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Mon Sep 17 11:34:55 2018 +0200
+++ b/CMakeLists.txt	Mon Sep 17 11:40:42 2018 +0200
@@ -16,7 +16,7 @@
 
 
 cmake_minimum_required(VERSION 2.8)
-project(OrthancTransfersAccelerator)
+project(OrthancTransfers)
 
 set(ORTHANC_PLUGIN_VERSION "mainline")
 
@@ -77,7 +77,7 @@
   execute_process(
     COMMAND 
     ${PYTHON_EXECUTABLE} ${ORTHANC_ROOT}/Resources/WindowsResources.py
-    ${ORTHANC_PLUGIN_VERSION} "TransfersAccelerator index plugin" OrthancTransfersAccelerator.dll
+    ${ORTHANC_PLUGIN_VERSION} "TransfersAccelerator index plugin" OrthancTransfers.dll
     "TransfersAccelerator as a database back-end to Orthanc (index)"
     ERROR_VARIABLE Failure
     OUTPUT_FILE ${AUTOGENERATED_DIR}/Version.rc
@@ -119,7 +119,7 @@
 
 
 
-add_library(OrthancTransfersAccelerator SHARED
+add_library(OrthancTransfers SHARED
   Plugin/Plugin.cpp
   Plugin/PluginContext.cpp
 
@@ -136,14 +136,14 @@
   -DHAS_ORTHANC_EXCEPTION=1
   )
 
-set_target_properties(OrthancTransfersAccelerator PROPERTIES 
+set_target_properties(OrthancTransfers PROPERTIES 
   VERSION ${ORTHANC_PLUGIN_VERSION} 
   SOVERSION ${ORTHANC_PLUGIN_VERSION}
   COMPILE_FLAGS -DORTHANC_ENABLE_LOGGING_PLUGIN=1
   )
 
 install(
-  TARGETS OrthancTransfersAccelerator
+  TARGETS OrthancTransfers
   RUNTIME DESTINATION lib    # Destination for Windows
   LIBRARY DESTINATION share/orthanc/plugins    # Destination for Linux
   )