1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-04-29 19:54:49 +02:00
jami-client-qt/cmake/windows_qt_deploy.cmake
Ming Rui Zhang a7eafe4793 test: add building blocks for qml and GTest on windows
- Also updated the INSTALL.md

Gitlab: #385

Change-Id: Ib5bf9f0348dbc6da57e586475d698fe8dec0351b
2021-05-04 11:19:59 -04:00

14 lines
No EOL
577 B
CMake

if (EXISTS ${TIME_STAMP_FILE})
message("No need for Qt deployment in dir " ${QML_SRC_DIR})
else()
message("Qt deploying in dir " ${QML_SRC_DIR})
execute_process(COMMAND "${WIN_DEPLOY_QT_PATH}/windeployqt.exe"
--verbose 1
--qmldir ${QML_SRC_DIR}
--release ${EXE_NAME})
if (DEFINED OFF_SCREEN_PLUGIN_REQUESTED)
# for not showing window when testing
file(COPY "${OFF_SCREEN_PLUGIN_PATH}/qoffscreen.dll"
DESTINATION ${COPY_TO_PATH})
endif()
endif()