diff options
Diffstat (limited to 'infrastructure')
-rw-r--r-- | infrastructure/cmake/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/infrastructure/cmake/CMakeLists.txt b/infrastructure/cmake/CMakeLists.txt index ad387347..79551168 100644 --- a/infrastructure/cmake/CMakeLists.txt +++ b/infrastructure/cmake/CMakeLists.txt @@ -209,8 +209,13 @@ foreach(module_dep # We need to install binaries in specific places so that test # runner can find them: install(FILES "$<TARGET_FILE:${module_name}>" + CONFIGURATIONS Debug DESTINATION "${base_dir}/debug/${module_dir}" RENAME "${bin_name}${CMAKE_EXECUTABLE_SUFFIX}") + install(FILES "$<TARGET_FILE:${module_name}>" + CONFIGURATIONS Release + DESTINATION "${base_dir}/release/${module_dir}" + RENAME "${bin_name}${CMAKE_EXECUTABLE_SUFFIX}") endif() target_compile_definitions(${module_name} PRIVATE -DBOX_MODULE="${module_name}") |