|
@@ -511,11 +511,6 @@ else()
|
|
|
target_precompile_headers(Jolt PRIVATE "$<$<NOT:$<CONFIG:ReleaseCoverage>>:${JOLT_PHYSICS_ROOT}/Jolt.h>")
|
|
|
endif()
|
|
|
|
|
|
-if (NOT CPP_EXCEPTIONS_ENABLED)
|
|
|
- # Disable use of exceptions in MSVC's STL
|
|
|
- target_compile_definitions(Jolt PUBLIC $<$<BOOL:${MSVC}>:_HAS_EXCEPTIONS=0>)
|
|
|
-endif()
|
|
|
-
|
|
|
# Set the debug/non-debug build flags
|
|
|
target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Debug>:_DEBUG>")
|
|
|
target_compile_definitions(Jolt PUBLIC "$<$<CONFIG:Release,Distribution,ReleaseASAN,ReleaseUBSAN,ReleaseTSAN,ReleaseCoverage>:NDEBUG>")
|