Skip to content
Snippets Groups Projects
Commit 68cdd62c authored by Ben Boeckel's avatar Ben Boeckel
Browse files

cmake: comment out the old module system logic

parent a5708c6a
No related branches found
No related tags found
No related merge requests found
......@@ -24,9 +24,6 @@ if(VTK_WRAP_PYTHON)
set(VTK_WRAP_PYTHON_EXE vtkWrapPython)
set(VTK_WRAP_PYTHON_INIT_EXE vtkWrapPythonInit)
endif()
# Force the WrappingPythonCore module to on if wrapping is on
set(Module_vtkWrappingPythonCore ${VTK_WRAP_PYTHON}
CACHE BOOL "Core Python wrapping library" FORCE)
option(VTK_WRAP_JAVA "Should VTK Java wrapping be built?" OFF)
if(VTK_WRAP_JAVA)
......@@ -40,8 +37,6 @@ if(VTK_WRAP_JAVA)
set(VTK_JAVA_HOME ${VTK_BINARY_DIR}/java/vtk)
file(MAKE_DIRECTORY ${VTK_JAVA_HOME})
endif()
set(Module_vtkWrappingJava ${VTK_WRAP_JAVA}
CACHE BOOL "Core Java wrapping library" FORCE)
if(VTK_WRAP_PYTHON OR VTK_WRAP_JAVA OR VTK_WRAP_HIERARCHY)
set(VTK_WRAP_HIERARCHY_EXE vtkWrapHierarchy)
......
......@@ -57,7 +57,7 @@ include(vtkWrapSettings)
# Should be included after vtkTesting
include(vtkCompilerDynamicAnalysisFlags)
include(vtkModuleMacros)
#include(vtkModuleMacros)
#-----------------------------------------------------------------------------
# Do we want examples built?
......@@ -67,7 +67,7 @@ set(VTK_BUILD_SHARED_LIBS ${BUILD_SHARED_LIBS})
#-----------------------------------------------------------------------------
# Add the Remote Subdirectory
add_subdirectory(Remote)
#add_subdirectory(Remote)
#-----------------------------------------------------------------------------
# Does VTK require support for 64 bit file systems
......@@ -96,6 +96,8 @@ mark_as_advanced(VTK_ENABLE_KITS)
include(vtkEncodeString)
if (FALSE)
#----------------------------------------------------------------------
# Load the module DAG, assess all modules etc.
include(vtkModuleTop)
......@@ -169,6 +171,8 @@ if(VTK_DATA_EXCLUDE_FROM_ALL)
endif()
endif()
endif ()
#-----------------------------------------------------------------------------
# Install the license file
install(FILES ${VTK_SOURCE_DIR}/Copyright.txt DESTINATION ${VTK_INSTALL_DOC_DIR})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment