Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas
VTK
Commits
a914e33a
Commit
a914e33a
authored
4 years ago
by
Ben Boeckel
Browse files
Options
Downloads
Patches
Plain Diff
cmake: add a flag for building remote modules
parent
b6615263
Branches
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
+12
-1
12 additions, 1 deletion
CMakeLists.txt
Documentation/dev/build.md
+3
-0
3 additions, 0 deletions
Documentation/dev/build.md
with
15 additions
and
1 deletion
CMakeLists.txt
+
12
−
1
View file @
a914e33a
...
...
@@ -221,7 +221,6 @@ set(vtk_source_directories
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Interaction"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/IO"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Parallel"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Remote"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Rendering"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Testing"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/ThirdParty"
...
...
@@ -229,6 +228,18 @@ set(vtk_source_directories
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Views"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Web"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Wrapping"
)
set
(
remote_default ON
)
if
(
VTK_WHEEL_BUILD
)
set
(
remote_default OFF
)
endif
()
option
(
VTK_ENABLE_REMOTE_MODULES
"Enable remote modules"
ON
)
mark_as_advanced
(
VTK_ENABLE_REMOTE_MODULES
)
if
(
VTK_ENABLE_REMOTE_MODULES
)
list
(
APPEND vtk_source_directories
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/Remote"
)
endif
()
vtk_module_find_modules
(
vtk_module_files
${
vtk_source_directories
}
)
vtk_module_find_kits
(
vtk_kit_files
${
vtk_source_directories
}
)
...
...
This diff is collapsed.
Click to expand it.
Documentation/dev/build.md
+
3
−
0
View file @
a914e33a
...
...
@@ -176,6 +176,9 @@ More advanced options:
documentation using Doxygen.
*
`VTK_BUILD_ALL_MODULES`
(default
`OFF`
): If set, VTK will enable all
modules not disabled by other features.
*
`VTK_ENABLE_REMOTE_MODULES`
(default
`ON`
): If set, VTK will try to build
remote modules (the
`Remote`
directory). If unset, no remote modules will
build.
*
`VTK_USE_EXTERNAL`
(default
`OFF`
): Whether to prefer external third
party libraries or the versions VTK's source contains.
*
`VTK_VERSIONED_INSTALL`
(default
`ON`
): Whether to add version numbers to
...
...
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