comparison MySQL/CMakeLists.txt @ 167:0f01eaf17232

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 13:40:46 +0200
parents 23cf7def8e44
children 5e604adfd41f
comparison
equal deleted inserted replaced
166:abba5165f24e 167:0f01eaf17232
24 24
25 25
26 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") 26 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
27 execute_process( 27 execute_process(
28 COMMAND 28 COMMAND
29 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/Resources/WindowsResources.py 29 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/../Resources/WindowsResources.py
30 ${ORTHANC_PLUGIN_VERSION} "MySQL storage area plugin" OrthancMySQLStorage.dll 30 ${ORTHANC_PLUGIN_VERSION} "MySQL storage area plugin" OrthancMySQLStorage.dll
31 "MySQL as a database back-end to Orthanc (storage area)" 31 "MySQL as a database back-end to Orthanc (storage area)"
32 ERROR_VARIABLE Failure 32 ERROR_VARIABLE Failure
33 OUTPUT_FILE ${AUTOGENERATED_DIR}/StorageVersion.rc 33 OUTPUT_FILE ${AUTOGENERATED_DIR}/StorageVersion.rc
34 ) 34 )
37 message(FATAL_ERROR "Error while computing the version information: ${Failure}") 37 message(FATAL_ERROR "Error while computing the version information: ${Failure}")
38 endif() 38 endif()
39 39
40 execute_process( 40 execute_process(
41 COMMAND 41 COMMAND
42 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/Resources/WindowsResources.py 42 ${PYTHON_EXECUTABLE} ${ORTHANC_FRAMEWORK_ROOT}/../Resources/WindowsResources.py
43 ${ORTHANC_PLUGIN_VERSION} "MySQL index plugin" OrthancMySQLIndex.dll 43 ${ORTHANC_PLUGIN_VERSION} "MySQL index plugin" OrthancMySQLIndex.dll
44 "MySQL as a database back-end to Orthanc (index)" 44 "MySQL as a database back-end to Orthanc (index)"
45 ERROR_VARIABLE Failure 45 ERROR_VARIABLE Failure
46 OUTPUT_FILE ${AUTOGENERATED_DIR}/IndexVersion.rc 46 OUTPUT_FILE ${AUTOGENERATED_DIR}/IndexVersion.rc
47 ) 47 )