2023-04-11 17:03:18 -04:00
|
|
|
set(MACDEPLOYQT "@MACDEPLOYQT@")
|
2023-04-16 22:10:26 -04:00
|
|
|
set(BUNDLED_MODEL_NAME "@BUNDLED_MODEL_NAME@")
|
2023-04-10 16:46:23 -04:00
|
|
|
set(COMPONENT_NAME_MAIN "@COMPONENT_NAME_MAIN@")
|
|
|
|
set(CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@")
|
2023-04-11 19:03:55 -04:00
|
|
|
execute_process(COMMAND ${MACDEPLOYQT} ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/chat.app -qmldir=${CMAKE_CURRENT_SOURCE_DIR} -verbose=2)
|
2023-04-16 22:10:26 -04:00
|
|
|
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/models/${BUNDLED_MODEL_NAME}
|
2023-04-11 16:58:59 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin/chat.app/Contents/MacOS)
|
2023-04-12 22:12:01 -04:00
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-16.png"
|
2023-04-13 06:39:10 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|
2023-04-12 22:12:01 -04:00
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-32.png"
|
2023-04-13 06:39:10 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|
2023-04-12 22:12:01 -04:00
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-48.png"
|
2023-04-13 06:39:10 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|
2023-04-13 06:49:47 -04:00
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-64.png"
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-256.png"
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|
|
|
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/favicon.icns"
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|