From 6e4c70278ff75760d746f9d6a43a1eb6c7ac7537 Mon Sep 17 00:00:00 2001 From: Lukas Cone Date: Tue, 24 Sep 2024 16:50:50 +0200 Subject: [PATCH] install pdb --- cmake/targetex.cmake | 1 + src/cli/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/cmake/targetex.cmake b/cmake/targetex.cmake index 27fd32b..c663bd0 100644 --- a/cmake/targetex.cmake +++ b/cmake/targetex.cmake @@ -215,6 +215,7 @@ function(build_target) TARGETS ${_arg_NAME} LIBRARY DESTINATION $,modules,lib> RUNTIME DESTINATION bin/modules) + install(FILES $ CONFIGURATIONS "RelWithDebInfo" DESTINATION bin) endif() if(${_is_python_module}) diff --git a/src/cli/CMakeLists.txt b/src/cli/CMakeLists.txt index 9a3d4da..b08be63 100644 --- a/src/cli/CMakeLists.txt +++ b/src/cli/CMakeLists.txt @@ -33,6 +33,7 @@ if(NOT BUILD_SHARED_LIBS) endif() install(TARGETS spike_cli RUNTIME DESTINATION $,$>>,.,bin>) +install(FILES $ CONFIGURATIONS "RelWithDebInfo" DESTINATION bin) function(add_spike_subdir name_) add_subdirectory(${name_} ${SpikeCLI_BINARY_DIR}/${name_})