1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-03 07:05:26 +02:00
jami-client-qt/extras/build/cmake/windows_qt_deploy.cmake
Amin Bandali 2fc8661d08 misc: Clean up repository root.
This is the first in a series for cleaning up the top directory (root)
of the repository and move various files/folders into nicely organized
directory structures.

GitLab: #749
Change-Id: If59b74fff981df242bc26e62a070bdb81d7baded
2022-10-07 17:30:06 -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()