1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-07-01 14:15:24 +02:00
jami-client-qt/extras/build/cmake/windows_daemon_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

21 lines
1 KiB
CMake

if (EXISTS ${TIME_STAMP_FILE})
message("No need for daemon deployment")
else()
message("Daemon deploying ...")
file(COPY "${DRING_PATH}/contrib/build/openssl/libcrypto-1_1-x64.dll"
"${DRING_PATH}/contrib/build/openssl/libssl-1_1-x64.dll"
"${PACKAGING_DIR}/wix/qt.conf"
"${PROJECT_ROOT_DIR}/resources/images/jami.ico"
"${PACKAGING_DIR}/wix/License.rtf"
DESTINATION ${COPY_TO_PATH})
# Cannot copy symbolic link using file COPY, create insread.
file(GLOB_RECURSE RingTones "${DRING_PATH}/ringtones/*.ul"
"${DRING_PATH}/ringtones/*.ogg"
"${DRING_PATH}/ringtones/*.wav"
"${DRING_PATH}/ringtones/*.opus")
list(REMOVE_ITEM RingTones "${DRING_PATH}/ringtones/default.opus")
file(COPY ${RingTones}
DESTINATION ${COPY_TO_PATH}/ringtones)
file(CREATE_LINK "${COPY_TO_PATH}/ringtones/01_AfroNigeria.opus"
"${COPY_TO_PATH}/ringtones/default.opus")
endif()