2023-04-10 15:03:00 -04:00
|
|
|
set(WINDEPLOYQT "@WINDEPLOYQT@")
|
|
|
|
set(COMPONENT_NAME_MAIN "@COMPONENT_NAME_MAIN@")
|
|
|
|
set(CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@")
|
|
|
|
execute_process(COMMAND ${WINDEPLOYQT} --qmldir ${CMAKE_CURRENT_SOURCE_DIR} ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin)
|
2023-05-25 16:27:09 -04:00
|
|
|
file(GLOB MYLAMALIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/*llama.*)
|
|
|
|
file(GLOB MYLLMODELLIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/*llmodel.*)
|
2023-05-16 13:04:09 -04:00
|
|
|
file(COPY ${MYLAMALIBS}
|
2023-04-24 09:19:26 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin)
|
2023-05-16 13:04:09 -04:00
|
|
|
file(COPY ${MYLLMODELLIBS}
|
2023-04-25 19:16:45 -04:00
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin)
|
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/favicon.ico"
|
|
|
|
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
|