Exposed serverless subdirectory as resources

Expose some serverless subdirectory as outside the binary
to make possible the referencing from inside a script or from inside the html
these don't support qrc url.
This commit is contained in:
Alezia Kurdis 2022-02-27 14:01:00 -05:00 committed by GitHub
parent d1c408759d
commit 3d410252c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -394,6 +394,12 @@ else()
COMMAND "${CMAKE_COMMAND}" -E copy_if_different
"${PROJECT_SOURCE_DIR}/resources/serverless/redirect.json"
"${RESOURCES_DEV_DIR}/serverless/redirect.json"
COMMAND "${CMAKE_COMMAND}" -E copy_directory
"${PROJECT_SOURCE_DIR}/resources/serverless/Fonts"
"${RESOURCES_DEV_DIR}/serverless/Fonts"
COMMAND "${CMAKE_COMMAND}" -E copy_directory
"${PROJECT_SOURCE_DIR}/resources/serverless/Scripts"
"${RESOURCES_DEV_DIR}/serverless/Scripts"
COMMAND "${CMAKE_COMMAND}" -E copy_if_different
"${RESOURCES_RCC}"
"${INTERFACE_EXEC_DIR}/resources.rcc"