Skip to content

Commit

Permalink
Add all configuration options to config types
Browse files Browse the repository at this point in the history
Co-authored-by: Theodore Tsirpanis <[email protected]>
  • Loading branch information
jp-dark and teo-tsirpanis authored Oct 10, 2024
1 parent 5ba67aa commit fe7fcfe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion libtiledbsoma/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,16 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON)
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if (is_multi_config)
set(CMAKE_CONFIGURATION_TYPES
"Release;Debug;RelWithDebInfo"
"Release;Debug;RelWithDebInfo;ASAN;TSAN;LSAN;UBSAN;MSAN"
CACHE
STRING
"Semi-colon separate list of build types for multi-configuration generators."
)
set(CMAKE_MAP_IMPORTED_CONFIG_ASAN Debug)
set(CMAKE_MAP_IMPORTED_CONFIG_TSAN Debug)
set(CMAKE_MAP_IMPORTED_CONFIG_LSAN Debug)
set(CMAKE_MAP_IMPORTED_CONFIG_UBSAN Debug)
set(CMAKE_MAP_IMPORTED_CONFIG_MSAN Debug)
else()
set(CMAKE_BUILD_TYPE
"Release" CACHE STRING "Build type for single-configuration generators."
Expand Down

0 comments on commit fe7fcfe

Please sign in to comment.