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
df3d53be
Commit
df3d53be
authored
Dec 04, 2015
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: add hidden value for testing system smtk
parent
5f77d359
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
CMakeLists.txt
CMakeLists.txt
+2
-0
Projects/cmb.cmake
Projects/cmb.cmake
+2
-2
Projects/smtk.cmake
Projects/smtk.cmake
+2
-1
No files found.
CMakeLists.txt
View file @
df3d53be
...
...
@@ -322,6 +322,8 @@ elseif (CMB_SUPERBUILD_MODE STREQUAL "DEVELOPER")
set_property
(
CACHE ENABLE_smtk_BUILD_MODE
PROPERTY
VALUE Developer
)
elseif
(
CMB_SUPERBUILD_MODE STREQUAL
"DEVELOPMENT"
)
# If this is set, let the options through unmodified.
else
()
message
(
FATAL_ERROR
"Unrecognized superbuild mode:
${
CMB_SUPERBUILD_MODE
}
"
)
endif
()
...
...
Projects/cmb.cmake
View file @
df3d53be
...
...
@@ -11,8 +11,8 @@ endif ()
set
(
CMB_TEST_DATA_ROOT
""
CACHE PATH
"Location of CMB's testing data"
)
add_external_project_or_just_build_dependencies
(
cmb
DEPENDS boost remus vxl kml gdal qt python paraview molequeue
smtk
DEPENDS_OPTIONAL moab triangle
DEPENDS boost remus vxl kml gdal qt python paraview molequeue
DEPENDS_OPTIONAL moab triangle
smtk
CMAKE_ARGS
${
extra_cmake_args
}
-DKML_DIR:PATH=<INSTALL_DIR>
...
...
Projects/smtk.cmake
View file @
df3d53be
...
...
@@ -65,4 +65,5 @@ if(shiboken_ENABLED)
endif
()
add_extra_cmake_args
(
-DSMTK_DIR:PATH=<INSTALL_DIR>/lib/cmake/SMTK
)
-DSMTK_DIR:PATH=<INSTALL_DIR>/lib/cmake/SMTK
-DUSE_SYSTEM_SMTK:BOOL=ON
)
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