Commit 76a3bd5c authored by Ben Boeckel's avatar Ben Boeckel
Browse files

wrapping: don't set WRAP_EXCLUDE_PYTHON

The property isn't used anymore by the wrapping tools.
parent ea722579
......@@ -106,8 +106,6 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/vtkmConfig.h.in"
# - SKIP_HEADER_INSTALL is enabled as we need to install these headers
# to the vtkmlib directory and not the root include directory as vtk
# normally does
# - WRAP_EXCLUDE* are enabled as we don't want any vtkmlib private classes
# being used as public api
# ====================
set_source_files_properties(
vtkmlib/PolyDataConverter
......@@ -121,23 +119,8 @@ set_source_files_properties(
vtkmlib/ImplicitFunctionConverter
PROPERTIES
SKIP_HEADER_INSTALL 1
WRAP_EXCLUDE_PYTHON 1
)
# ====================
# Important for wrapping and install rules for vtkmlib
# - WRAP_EXCLUDE* are enabled as we don't want any vtkm private classes
# being used as public api
# ====================
set_source_files_properties(
vtkmCellSetExplicit
vtkmCellSetSingleType
vtkmConnectivityExec
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
set(${vtk-module}_HDRS
vtkmTags.h
vtkmFilterPolicy.h
......
......@@ -537,34 +537,6 @@ configure_file(
${CMAKE_CURRENT_BINARY_DIR}/vtkFloatingPointExceptionsConfigure.h
)
set_source_files_properties(
vtkABI.h
vtkAOSDataArrayTemplate.txx
vtkArrayIteratorTemplateInstantiate.cxx
vtkAutoInit.h
vtkDataArrayPrivate.txx
vtkIOStream.cxx
vtkIOStreamFwd.h
vtkLargeInteger.cxx
vtkOldStyleCallbackCommand.cxx
vtkOStreamWrapper.cxx
vtkOStrStreamWrapper.cxx
vtkNew.h
vtkSetGet.h
vtkSmartPointer.h
vtkSmartPointerBase.h
vtkSOADataArrayTemplateInstantiate.cxx # Has no API
vtkStdString.cxx
vtkUnicodeString.cxx
vtkWeakPointer.h
vtkWeakPointerBase.cxx
vtkWin32Header.h
vtkWrappingHints.h
${VTK_SMP_SOURCES}
${VTK_SMP_HEADERS}
PROPERTIES WRAP_EXCLUDE_PYTHON 1
)
set_source_files_properties(
vtkDataArrayTemplate.h
vtkDenseArray.h
......
......@@ -235,9 +235,4 @@ set(${vtk-module}_HDRS
vtkStaticCellLinksTemplate.h
)
set_source_files_properties(
vtkDispatcher_Private
PROPERTIES WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkCommonDataModel ${Module_SRCS})
......@@ -18,12 +18,6 @@ set(Module_SRCS
vtkXYZMolReader2.cxx
)
set_source_files_properties(
vtkBlueObeliskDataInternal.h
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
# Generate configured header file
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/vtkChemistryConfigure.h.in"
"${CMAKE_CURRENT_BINARY_DIR}/vtkChemistryConfigure.h")
......
......@@ -16,11 +16,6 @@ vtk_object_factory_configure("${vtk_module_overrides}")
list(APPEND Module_SRCS
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx)
set_source_files_properties(
${vtk-module}ObjectFactory.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkDomainsChemistryOpenGL2 ${Module_SRCS})
include(vtkOpenGL)
......
......@@ -45,11 +45,4 @@ set_source_files_properties(
HEADER_FILE_ONLY
)
set_source_files_properties(
${vtk-module}ObjectFactory.cxx
vtkPOutlineFilterInternals.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkFiltersParallel ${Module_SRCS})
......@@ -13,11 +13,6 @@ if (NOT WIN32)
vtk_object_factory_configure("${vtk_module_overrides}")
list(APPEND Module_SRCS
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx)
set_source_files_properties(
${vtk-module}ObjectFactory.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
add_definitions(-DDIY_NO_THREADS)
......
......@@ -26,10 +26,5 @@ endforeach()
vtk_object_factory_configure("${vtk_module_overrides}")
list(APPEND Module_SRCS
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx)
set_source_files_properties(
${vtk-module}ObjectFactory.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkFiltersParallelFlowPaths ${Module_SRCS})
......@@ -25,27 +25,6 @@ set(Module_SOURCES
vtkADIOSReader.cxx
)
set_source_files_properties(
ADIOSDefs.cxx
ADIOSUtilities.cxx
ADIOSWriter.cxx
ADIOSAttribute.cxx
ADIOSVarInfo.cxx
ADIOSScalar.cxx
ADIOSReader.cxx
vtkADIOSUtilities.cxx
vtkADIOSWriterDefine.cxx
vtkADIOSWriterWrite.cxx
vtkADIOSDirTree.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkIOADIOS ${Module_SOURCES})
target_link_libraries(vtkIOADIOS
LINK_PRIVATE ${ADIOS_LIBRARIES} ${MPI_C_LIBRARIES} ${MPI_CXX_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}
......
......@@ -10,11 +10,4 @@ set(Module_SRCS
vtkAMRFlashReaderInternal.cxx
)
set_source_files_properties(
vtkAMREnzoReaderInternal
vtkAMRFlashReaderInternal
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkIOAMR ${Module_SRCS})
......@@ -11,12 +11,6 @@ set(Module_SRCS
vtkModelMetadata.cxx
)
set_source_files_properties(
vtkExodusIIReaderVariableCheck
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
set_source_files_properties(
vtkExodusIIReaderVariableCheck
PROPERTIES
......
......@@ -36,10 +36,4 @@ set(Module_SRCS
vtkMRCReader.cxx
)
set_source_files_properties(
vtkNIFTIPrivate.h
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkIOImage ${Module_SRCS})
......@@ -10,10 +10,4 @@ set (${vtk-module}_HDRS
vtk3DS.h
)
set_source_files_properties(
vtkOBJImporterInternals
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkIOImport ${Module_SRCS})
......@@ -12,13 +12,4 @@ configure_file(
${CMAKE_CURRENT_BINARY_DIR}/LSDynaExport.h
)
set_source_files_properties(
vtkLSDynaPart
vtkLSDynaPartCollection
LSDynaFamily
LSDynaMetaData
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkIOLSDyna ${Module_SRCS})
......@@ -6,11 +6,6 @@ set(Module_SRCS
vtkMPIImageReader.cxx
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
)
set_source_files_properties(
${vtk-module}ObjectFactory
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
# Now to generate our object factory.
vtk_add_override(vtkNrrdReader vtkPNrrdReader)
......
......@@ -21,10 +21,5 @@ vtk_object_factory_configure("${vtk_module_overrides}")
list(APPEND Module_SRCS
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
)
set_source_files_properties(
${vtk-module}ObjectFactory
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(${vtk-module} ${Module_SRCS})
vtk_mpi_link(${vtk-module})
......@@ -8,12 +8,6 @@ set(MySQL_SRCS
vtkIOMySQL_AutoInit.cxx
)
set_source_files_properties(
vtkIOMySQL_AutoInit
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
include_directories(${MYSQL_INCLUDE_DIRECTORIES})
vtk_module_library(vtkIOMySQL ${MySQL_SRCS})
......
......@@ -6,12 +6,6 @@ set(ODBC_SRCS
vtkIOODBC_AutoInit.cxx
)
set_source_files_properties(
vtkIOODBC_AutoInit
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
include_directories(${ODBC_INCLUDE_DIRECTORIES})
vtk_module_library(vtkIOODBC ${ODBC_SRCS})
......
......@@ -12,10 +12,4 @@ set(Module_SRCS
vtkPSLACReader.cxx
)
set_source_files_properties(
vtkMultiBlockPLOT3DReaderInternals
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkIOParallel ${Module_SRCS})
......@@ -5,11 +5,6 @@ set(Module_SRCS
vtkPExodusIIWriter.cxx
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
)
set_source_files_properties(
${vtk-module}ObjectFactory
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
# Now to generate our object factory.
vtk_add_override(vtkExodusIIWriter vtkPExodusIIWriter)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment