From 735e5bae91670d153bf827dfb80d78e6a40a8fef Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Sat, 14 Feb 2026 12:57:28 +0100 Subject: [PATCH] client copy client_common and qwt to bin folder --- client/CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 1d4e41c..877a2c9 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -80,6 +80,20 @@ target_include_directories(client_common ${PROJECT_BINARY_DIR} ) +add_custom_command(TARGET client_common POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_if_different + $ + $) + +add_custom_target(copy_qwt_to_unisim + COMMAND ${CMAKE_COMMAND} -E copy_if_different + $ + $ + COMMENT "Copying qwt → unisim_client output dir" + VERBATIM +) +add_dependencies(unisim_client copy_qwt_to_unisim) + if (NOT EMSCRIPTEN) file(GLOB_RECURSE sims "simulators/*.cpp") # Loop through each .cpp file and create a library for it