Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
T.J. Corona
CMB-SuperBuild
Commits
dadb2aa2
Commit
dadb2aa2
authored
Jan 02, 2019
by
Haocheng LIU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a superbuild level option to control smtk documentation build
parent
7de973da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
projects/smtk.cmake
projects/smtk.cmake
+8
-1
No files found.
projects/smtk.cmake
View file @
dadb2aa2
...
...
@@ -20,6 +20,13 @@ if (vtkonly_enabled OR paraview_enabled)
set
(
smtk_enable_vtk ON
)
endif
()
# A convenient option to control smtk documentation
option
(
ENABLE_SMTK_DOCUMENTATION
"Enable smtk documentation"
ON
)
set
(
enable_smtk_doc always
)
if
(
NOT ENABLE_SMTK_DOCUMENTATION
)
set
(
enable_smtk_doc never
)
endif
()
if
(
UNIX AND NOT APPLE
)
list
(
APPEND smtk_extra_cmake_args
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE
)
...
...
@@ -49,7 +56,7 @@ superbuild_add_project(smtk
CMAKE_ARGS
${
smtk_extra_cmake_args
}
-DBUILD_SHARED_LIBS:BOOL=ON
-DSMTK_BUILD_DOCUMENTATION:STRING=
always
-DSMTK_BUILD_DOCUMENTATION:STRING=
${
enable_smtk_doc
}
-DSMTK_ENABLE_OPENCV:BOOL=
${
opencv_enabled
}
-DSMTK_ENABLE_QT_SUPPORT:BOOL=
${
qt_enabled
}
-DSMTK_ENABLE_VTK_SUPPORT:BOOL=
${
smtk_enable_vtk
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment