##// END OF EJS Templates
Separate the initialization of the properties of the graph of the update of the units of the graph....
Separate the initialization of the properties of the graph of the update of the units of the graph. The initialization of the properties is carried out when adding a variable in the graph, the update of the units is carried out when loading the data of this variable

File last commit:

r1098:e7c327b9c583
r1308:41b7c6aab8be
Show More
sciqlop_package_qt.cmake
36 lines | 1.3 KiB | text/x-cmake | CMakeLexer
/ cmake / sciqlop_package_qt.cmake
add qt cmake file for cpack. (forgotten from cpackforwindows commit)
r62 STRING(TOLOWER ${CMAKE_BUILD_TYPE} CMAKE_BUILD_TYPE_TO_LOWER)
Add config for windows compatibility of CatalogueAPI
r1098 SET(WINDEPLOYQT_ARGS --${CMAKE_BUILD_TYPE_TO_LOWER} --list mapping -network -sql --no-system-d3d-compiler --compiler-runtime --dry-run)
add qt cmake file for cpack. (forgotten from cpackforwindows commit)
r62
#FOREACH(qtModule @_qt5_modules@)
# STRING(TOLOWER ${qtModule} qtLowerModule)
# SET(WINDEPLOYQT_ARGS ${WINDEPLOYQT_ARGS} -${qtLowerModule})
#ENDFOREACH()
EXECUTE_PROCESS(
Ajout -printsupport pour valider windeployqt sous windows
r161 COMMAND windeployqt ${WINDEPLOYQT_ARGS} -printsupport ${SCIQLOP_EXE_LOCATION}
add qt cmake file for cpack. (forgotten from cpackforwindows commit)
r62 OUTPUT_VARIABLE QT_FILES
)
IF( QT_FILES )
STRING(REPLACE "\n" ";" QT_FILES ${QT_FILES})
LIST(APPEND QT_FILES_LIST ${QT_FILES})
FOREACH(QtFile ${QT_FILES_LIST})
STRING(REPLACE "\"" "" QtFile ${QtFile})
STRING(REPLACE "\\" "/" QtFile ${QtFile})
STRING(REGEX MATCH "^(.*) " QtFileSource ${QtFile})
STRING(REGEX MATCH " (.*)$" QtFileTarget ${QtFile})
STRING(STRIP ${QtFileSource} QtFileSource)
STRING(STRIP ${QtFileTarget} QtFileTarget)
GET_FILENAME_COMPONENT(QtFileTargetDir ${QtFileTarget} DIRECTORY)
IF(NOT EXISTS "${CMAKE_INSTALL_PREFIX}/${EXECUTABLE_OUTPUT_PATH}/${QtFileTarget}")
GET_FILENAME_COMPONENT(QtFileTargetDir ${QtFileTarget} DIRECTORY)
FILE(INSTALL DESTINATION "${EXECUTABLE_OUTPUT_PATH}/${QtFileTargetDir}" FILES "${QtFileSource}")
ENDIF()
ENDFOREACH()
ENDIF()
MESSAGE( "Exec windeployqt done" )