Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
DD4hep
Commits
e0d08576
Commit
e0d08576
authored
Apr 19, 2018
by
Ben Couturier
Committed by
MarkusFrankATcernch
Apr 19, 2018
Browse files
Options
Downloads
Patches
Plain Diff
Added option to avoid building documentation
parent
3b2c5f81
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+4
-1
4 additions, 1 deletion
CMakeLists.txt
with
4 additions
and
1 deletion
CMakeLists.txt
+
4
−
1
View file @
e0d08576
...
@@ -28,10 +28,13 @@ ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
...
@@ -28,10 +28,13 @@ ENDIF(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
###############################################
###############################################
OPTION
(
BUILD_DOCS_ONLY
"Build documentation only"
OFF
)
OPTION
(
BUILD_DOCS_ONLY
"Build documentation only"
OFF
)
OPTION
(
BUILD_DOCS
"Build documentation"
ON
)
# Add targets for Doxygen code reference and LaTeX User manual
# Add targets for Doxygen code reference and LaTeX User manual
if
(
BUILD_DOCS
)
ADD_SUBDIRECTORY
(
doc
)
ADD_SUBDIRECTORY
(
doc
)
ENDIF
()
# If only building docs, stop processing the rest of the CMake file:
# If only building docs, stop processing the rest of the CMake file:
IF
(
BUILD_DOCS_ONLY
)
IF
(
BUILD_DOCS_ONLY
)
...
...
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