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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Spiros Tsalikis
VTK
Commits
8ce0fa2c
Commit
8ce0fa2c
authored
4 years ago
by
Ben Boeckel
Browse files
Options
Downloads
Patches
Plain Diff
cmake: move VTK_WINDOWS_PYTHON_DEBUGGABLE option to VTK
And add documentation.
parent
1b00e5ef
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-0
4 additions, 0 deletions
CMakeLists.txt
Documentation/dev/build.md
+2
-0
2 additions, 0 deletions
Documentation/dev/build.md
with
6 additions
and
0 deletions
CMakeLists.txt
+
4
−
0
View file @
8ce0fa2c
...
...
@@ -371,6 +371,9 @@ if (VTK_WRAP_PYTHON)
"
${
vtk_required_python_modules
}
\n
"
)
get_property
(
vtk_soabi GLOBAL
PROPERTY _vtk_python_soabi
)
cmake_dependent_option
(
VTK_WINDOWS_PYTHON_DEBUGGABLE
"Append `_d` to Python module names"
OFF
"WIN32;VTK_WRAP_PYTHON"
OFF
)
mark_as_advanced
(
VTK_WINDOWS_PYTHON_DEBUGGABLE
)
vtk_module_wrap_python
(
MODULES
${
vtk_modules
}
INSTALL_EXPORT VTKPython
...
...
@@ -380,6 +383,7 @@ if (VTK_WRAP_PYTHON)
CMAKE_DESTINATION
"
${
vtk_cmake_destination
}
"
INSTALL_HEADERS
"
${
VTK_INSTALL_SDK
}
"
SOABI
"
${
vtk_soabi
}
"
USE_DEBUG_SUFFIX
"
${
VTK_WINDOWS_PYTHON_DEBUGGABLE
}
"
WRAPPED_MODULES vtk_python_wrapped_modules
TARGET_SPECIFIC_COMPONENTS
"
${
VTK_TARGET_SPECIFIC_COMPONENTS
}
"
TARGET VTK::vtkpythonmodules
)
...
...
This diff is collapsed.
Click to expand it.
Documentation/dev/build.md
+
2
−
0
View file @
8ce0fa2c
...
...
@@ -220,6 +220,8 @@ More advanced options:
*
`VTK_SERIAL_TESTS_USE_MPIEXEC`
(default
`OFF`
): Used on HPC to run
serial tests on compute nodes. If set, it prefixes serial tests with
"${MPIEXEC_EXECUTABLE}" "${MPIEXEC_NUMPROC_FLAG}" "1" ${MPIEXEC_PREFLAGS}
*
`VTK_WINDOWS_PYTHON_DEBUGGABLE`
(default
`OFF`
): Set to
`ON`
if using a
debug build of Python.
The VTK module system provides a number of variables to control modules which
are not otherwise controlled by the other options provided.
...
...
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