add themes and post build event to auto deploy

This commit is contained in:
Skarn
2021-12-13 01:42:09 +03:00
parent f990f16c3e
commit 5062d6b694
84 changed files with 3042 additions and 0 deletions

View File

@@ -371,6 +371,12 @@ TARGET_LINK_LIBRARIES (noggit
sol2::sane
)
# deploy additional resources
add_custom_command(TARGET noggit POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory
"${PROJECT_SOURCE_DIR}/resources/themes"
$<TARGET_FILE_DIR:noggit>/themes)
SET_PROPERTY(TARGET noggit PROPERTY AUTOMOC ON)
IF(APPLE)