build: deploy Qt runtime for Windows builds
Run windeployqt as a post-build step for Schedule, copy MinGW runtime DLLs, and place Windows test binaries next to the deployed Qt runtime.
This commit is contained in:
@@ -43,3 +43,11 @@ if(TARGET schedule-sync-server)
|
||||
ENVIRONMENT "SCHEDULE_SYNC_SERVER_BIN=${CMAKE_BINARY_DIR}/bin/schedule-sync-server${CMAKE_EXECUTABLE_SUFFIX}"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set_target_properties(
|
||||
test_storage test_services test_grid test_mainwindow test_compactwindow
|
||||
test_config test_scheduler test_ai test_openai_provider test_sync_integration
|
||||
PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user