Skip to content

Commit

Permalink
Default to buiding shared libs for ndebug
Browse files Browse the repository at this point in the history
  • Loading branch information
sethrj committed Jan 23, 2024
1 parent 641fa6b commit e36c47d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"hidden": true,
"description": "Build with optimizations and without debug assertions",
"cacheVariables": {
"BUILD_SHARED_LIBS":{"type": "BOOL", "value": "OFF"},
"CELERITAS_DEBUG": {"type": "BOOL", "value": "OFF"},
"CMAKE_BUILD_TYPE": {"type": "STRING", "value": "Release"},
"CMAKE_CUDA_FLAGS_RELEASE": "-O3 -DNDEBUG",
Expand Down
2 changes: 1 addition & 1 deletion scripts/cmake-presets/ci-ubuntu-cuda.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
"description": "Build with release ORANGE",
"inherits": [".ndebug", "base"],
"cacheVariables": {
"BUILD_SHARED_LIBS": {"type": "BOOL", "value": "OFF"},
"CELERITAS_USE_ROOT": {"type": "BOOL", "value": "OFF"}
}
},
Expand All @@ -82,7 +83,6 @@
"description": "Build release with vecgeom for testing *only* demos",
"inherits": [".ndebug", ".vecgeom", "base"],
"cacheVariables": {
"BUILD_SHARED_LIBS": {"type": "BOOL", "value": "ON"},
"BUILD_TESTING": {"type": "BOOL", "value": "ON"},
"CELERITAS_BUILD_DEMOS": {"type": "BOOL", "value": "ON"},
"CELERITAS_BUILD_TESTS": {"type": "BOOL", "value": "OFF"}
Expand Down

0 comments on commit e36c47d

Please sign in to comment.