gpt4all/gpt4all-chat/cmake/deploy-qt-windows.cmake.in

14 lines
983 B
CMake
Raw Normal View History

2023-04-10 19:03:00 +00: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 20:27:09 +00:00
file(GLOB MYLLMODELLIBS ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/lib/*llmodel.*)
2023-05-16 17:04:09 +00:00
file(COPY ${MYLLMODELLIBS}
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data/bin)
2023-04-13 02:12:01 +00:00
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-32.png"
2023-04-13 10:39:10 +00:00
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
2023-04-13 02:12:01 +00:00
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/logo-48.png"
2023-04-13 10:39:10 +00:00
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)
2023-04-13 10:49:47 +00:00
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/icons/favicon.ico"
DESTINATION ${CPACK_TEMPORARY_INSTALL_DIRECTORY}/packages/${COMPONENT_NAME_MAIN}/data)