Skip to content

Commit

Permalink
install pdb
Browse files Browse the repository at this point in the history
  • Loading branch information
PredatorCZ committed Sep 24, 2024
1 parent 9e2b425 commit 6e4c702
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/targetex.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ function(build_target)
TARGETS ${_arg_NAME}
LIBRARY DESTINATION $<IF:$<BOOL:${UNIX}>,modules,lib>
RUNTIME DESTINATION bin/modules)
install(FILES $<TARGET_PDB_FILE:${_arg_NAME}> CONFIGURATIONS "RelWithDebInfo" DESTINATION bin)
endif()

if(${_is_python_module})
Expand Down
1 change: 1 addition & 0 deletions src/cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ if(NOT BUILD_SHARED_LIBS)
endif()

install(TARGETS spike_cli RUNTIME DESTINATION $<IF:$<AND:$<BOOL:${UNIX}>,$<NOT:$<BOOL:${SPIKE_NODOT}>>>,.,bin>)
install(FILES $<TARGET_PDB_FILE:spike_cli> CONFIGURATIONS "RelWithDebInfo" DESTINATION bin)

function(add_spike_subdir name_)
add_subdirectory(${name_} ${SpikeCLI_BINARY_DIR}/${name_})
Expand Down

0 comments on commit 6e4c702

Please sign in to comment.