build: windows, create install step for daemon

This commit is contained in:
sithlord48 2024-11-21 20:39:29 -05:00 committed by Chris Rizzitello
parent e4ecbdae8a
commit 5a45e6d102

View file

@ -35,6 +35,20 @@ if(WIN32)
app
${libs})
post_config()
install(
TARGETS ${target}
RUNTIME_DEPENDENCY_SET deamonDeps
DESTINATION .
)
install(RUNTIME_DEPENDENCY_SET daemonDeps
PRE_EXCLUDE_REGEXES
"api-ms-win-.*"
"ext-ms-.*"
"^hvsifiletrust\\.dll$"
POST_EXCLUDE_REGEXES
".*system32.*"
RUNTIME DESTINATION .
)
post_config()
endif()