Skip to content

Commit

Permalink
KFR_DEBUG_INSTALL_SUFFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
dancazarin committed Feb 13, 2024
1 parent 1fda4f0 commit c5e405f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ if (KFR_EXTENDED_TESTS)
target_compile_definitions(kfr INTERFACE -DKFR_EXTENDED_TESTS)
endif ()

set(KFR_DEBUG_INSTALL_SUFFIX "/debug" CACHE STRING "")

add_subdirectory(src/dsp)
add_subdirectory(src/io)
if (KFR_ENABLE_DFT)
Expand Down
6 changes: 3 additions & 3 deletions src/capi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ if (KFR_INSTALL_LIBRARIES)
install(
TARGETS kfr_capi
EXPORT kfr_export
ARCHIVE DESTINATION lib$<$<CONFIG:Debug>:/debug>
LIBRARY DESTINATION lib$<$<CONFIG:Debug>:/debug>
RUNTIME DESTINATION bin$<$<CONFIG:Debug>:/debug>
ARCHIVE DESTINATION lib$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
LIBRARY DESTINATION lib$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
RUNTIME DESTINATION bin$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
)
endif ()
endif ()
6 changes: 3 additions & 3 deletions src/dft/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if (KFR_INSTALL_LIBRARIES)
install(
TARGETS ${kfr_dft_TARGETS}
EXPORT kfr_export
ARCHIVE DESTINATION lib$<$<CONFIG:Debug>:/debug>
LIBRARY DESTINATION lib$<$<CONFIG:Debug>:/debug>
RUNTIME DESTINATION bin$<$<CONFIG:Debug>:/debug>)
ARCHIVE DESTINATION lib$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
LIBRARY DESTINATION lib$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
RUNTIME DESTINATION bin$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>)
endif ()
6 changes: 3 additions & 3 deletions src/dsp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (KFR_INSTALL_LIBRARIES)
install(
TARGETS ${kfr_dsp_TARGETS}
EXPORT kfr_export
ARCHIVE DESTINATION lib$<$<CONFIG:Debug>:/debug>
LIBRARY DESTINATION lib$<$<CONFIG:Debug>:/debug>
RUNTIME DESTINATION bin$<$<CONFIG:Debug>:/debug>)
ARCHIVE DESTINATION lib$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
LIBRARY DESTINATION lib$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
RUNTIME DESTINATION bin$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>)
endif ()
6 changes: 3 additions & 3 deletions src/io/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if (KFR_INSTALL_LIBRARIES)
install(
TARGETS kfr_io
EXPORT kfr_export
ARCHIVE DESTINATION lib$<$<CONFIG:Debug>:/debug>
LIBRARY DESTINATION lib$<$<CONFIG:Debug>:/debug>
RUNTIME DESTINATION bin$<$<CONFIG:Debug>:/debug>)
ARCHIVE DESTINATION lib$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
LIBRARY DESTINATION lib$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>
RUNTIME DESTINATION bin$<$<CONFIG:Debug>:${KFR_DEBUG_INSTALL_SUFFIX}>)
endif ()

0 comments on commit c5e405f

Please sign in to comment.