Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
0645cb43
Commit
0645cb43
authored
11 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
- set default build type to RelWithDebInfo
(overwrite w/ -D CMAKE_BUILD_TYPE=Debug, Release,...)
parent
1c8e109c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-1
4 additions, 1 deletion
CMakeLists.txt
cmake/DD4hepConfig.cmake.in
+4
-1
4 additions, 1 deletion
cmake/DD4hepConfig.cmake.in
with
8 additions
and
2 deletions
CMakeLists.txt
+
4
−
1
View file @
0645cb43
...
...
@@ -28,8 +28,11 @@ option(DD4HEP_USE_XERCESC "Enable 'Detector Builders' based on XercesC" OFF)
option
(
DD4HEP_USE_PYROOT
"Enable 'Detector Builders' based on PyROOT"
OFF
)
# does not work (compile error)
option
(
DD4HEP_WITH_GEANT4
"Enable the simulation part based on Geant4"
OFF
)
#option(DD4HEP_WITH_LCIO "Build ILD examples with LCIO - builds LCIO as external project or uses pre-installed" ON)
#---------------------------------------------------------------------------------------
if
(
NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES
)
set
(
CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING
"One of: None Debug Release RelWithDebInfo MinSizeRel."
FORCE
)
endif
()
#---DD4hep functions and macros -------------------------------------------------------
include
(
DD4hep
)
...
...
This diff is collapsed.
Click to expand it.
cmake/DD4hepConfig.cmake.in
+
4
−
1
View file @
0645cb43
...
...
@@ -28,7 +28,10 @@ FIND_PATH( DD4hep_INCLUDE_DIRS
NO_DEFAULT_PATH
)
# ---------- default build type --------------------------------------------------------
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set (CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "One of: None Debug Release RelWithDebInfo MinSizeRel." FORCE)
endif()
# ---------- libraries --------------------------------------------------------
# do not store find results in cache
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment