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

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)
......
......@@ -11,11 +11,6 @@ set(Module_SRCS
vtkPXdmf3Writer.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(vtkXdmf3Writer vtkPXdmf3Writer)
......
......@@ -9,12 +9,6 @@ set(PostgreSQL_SRCS
vtkIOPostgreSQL_AutoInit.cxx
)
set_source_files_properties(
vtkIOPostgreSQL_AutoInit
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
include_directories(${PostgreSQL_INCLUDE_DIRS})
vtk_module_library(vtkIOPostgreSQL ${PostgreSQL_SRCS})
......
......@@ -9,10 +9,4 @@ set (Module_PRIVATE_SRCS
vtkSegYTraceReader.cxx
)
set_source_files_properties(
${Module_PRIVATE_SRCS}
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkIOSegY ${Module_SRCS} ${Module_PRIVATE_SRCS})
......@@ -54,10 +54,4 @@ if (NOT VTK_LEGACY_REMOVE)
)
endif()
set_source_files_properties(
vtkXMLWriterC
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkIOXML ${Module_SRCS})
......@@ -7,11 +7,5 @@ set(Module_SRCS
vtkXdmfWriter.cxx
)
set_source_files_properties(
vtkXdmfHeavyData
vtkXdmfReaderInternal
PROPERTIES WRAP_EXCLUDE_PYTHON 1
)
#set(${vtk-module}_NO_HeaderTest 1) # TODO: helper classes and reenable
vtk_module_library(vtkIOXdmf2 ${Module_SRCS})
......@@ -45,11 +45,4 @@ set(Module_SRCS
vtkImageStencilSource.cxx # Needed by vtkImageStencilData
)
SET_SOURCE_FILES_PROPERTIES(
vtkImageStencilIterator
vtkImageBSplineInternals
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkImagingCore ${Module_SRCS})
......@@ -19,10 +19,4 @@ set(Module_SRCS
vtkBoostGraphAdapter.h
)
set_source_files_properties(
vtkBoostGraphAdapter
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkInfovisBoostGraphAlgorithms ${Module_SRCS})
......@@ -24,12 +24,6 @@ set(Module_SRCS
${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.
set(vtk_module_overrides "vtkInteractorStyleSwitchBase")
if (ANDROID OR APPLE_IOS)
......
......@@ -17,13 +17,6 @@ set_source_files_properties(
HEADER_FILE_ONLY
)
set_source_files_properties(
vtkMPI
vtkMPIUtilities
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
# Needed for mpich 2
add_definitions("-DMPICH_IGNORE_CXX_SEEK")
......
......@@ -28,11 +28,4 @@ set(${vtk-module}_HDRS
vtkScalarBarActorInternal.h
)
set_source_files_properties(
vtkScalarBarActorInternal.h
PROPERTIES
HEADER_FILE_ONLY 1
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkRenderingAnnotation ${Module_SRCS})
......@@ -22,11 +22,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
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(${vtk-module} ${module_SRCS})
vtk_module_link_libraries(${vtk-module}
......
......@@ -25,24 +25,6 @@ set(Module_SRCS
fonts/face_times_italic.cxx
)
set_source_files_properties(
fonts/face_arial_bold
fonts/face_arial_bold_italic
fonts/face_arial
fonts/face_arial_italic
fonts/face_courier_bold
fonts/face_courier_bold_italic
fonts/face_courier
fonts/face_courier_italic
fonts/face_times_bold
fonts/face_times_bold_italic
fonts/face_times
fonts/face_times_italic
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
# Override some rendering classes. Create object factory:
list(APPEND vtk_module_overrides "vtkTextRenderer")
set(vtk_module_vtkTextRenderer_override "vtkMathTextFreeTypeTextRenderer")
......
......@@ -9,13 +9,6 @@ set(Module_SRCS
${CMAKE_CURRENT_BINARY_DIR}/vtkRenderingFreeTypeFontConfigObjectFactory.cxx
)
set_source_files_properties(
vtkFontConfigFreeTypeTools
vtkRenderingFreeTypeFontConfigObjectFactory
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
# Setup overrides
list(APPEND vtk_module_overrides "vtkFreeTypeTools")
set(vtk_module_vtkFreeTypeTools_override "vtkFontConfigFreeTypeTools")
......
......@@ -7,14 +7,6 @@ set(Module_SRCS
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
)
set_source_files_properties(
vtkOpenGLGL2PSHelperImpl.h
vtkOpenGLGL2PSHelperImpl.cxx
PROPERTIES
WRAP_EXCLUDE 1
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(${vtk-module} ${Module_SRCS})
include(vtkOpenGL)
......
......@@ -12,16 +12,6 @@ set(Module_SRCS
vtkTextureIO.cxx
)
set_source_files_properties(
vtkLICNoiseHelper.cxx
vtkSurfaceLICHelper.cxx
vtkPainterCommunicator.h
vtkSurfaceLICComposite.cxx
vtkTextureIO.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
if (VTK_RENDERINGPARALLELLIC_SURFACELICPAINTER_TIMER)
add_definitions("-DvtkSurfaceLICPainterTIME")
endif()
......@@ -52,12 +42,6 @@ foreach(file ${shader_files})
HEADER_OUTPUT header
SOURCE_OUTPUT source)
list(APPEND Module_SRCS ${source})
set_source_files_properties(
${header}
${source}
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
endforeach()
......
......@@ -4,11 +4,6 @@ set(Module_SRCS
vtkMatplotlibMathTextUtilities.cxx
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
)
set_source_files_properties(
${vtk-module}ObjectFactory
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
# Override some rendering classes. Create object factory:
list(APPEND vtk_module_overrides "vtkMathTextUtilities")
......
......@@ -25,12 +25,6 @@ vtk_add_override(vtkOSPRayVolumeInterface vtkOSPRayVolumeMapper)
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
vtkOSPRayMaterialHelpers.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
vtk_module_library(vtkRenderingOSPRay ${Module_SRCS})
......
......@@ -11,15 +11,6 @@ set(Module_SRCS
vtkOculusRenderWindowInteractor.cxx
)
set_source_files_properties(
vtkOculusCamera
vtkOculusRenderer
vtkOculusRenderWindow
vtkOculusRenderWindowInteractor
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
if (Module_vtkRenderingOculus)
message(SEND_ERROR "The oculus module is currently under construction due to changes in the Oculus SDK. Please disable this module.")
endif()
......
......@@ -101,14 +101,6 @@ set(${vtk-module}_HDRS
${CMAKE_CURRENT_BINARY_DIR}/vtkRenderingOpenGLConfigure.h
)
set_source_files_properties(
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx
vtkOpenGLGL2PSHelper
vtkOpenGLGlyph3DHelper
vtkOpenGLHelper
vtkOpenGLRenderTimer
PROPERTIES WRAP_EXCLUDE_PYTHON 1)
set(shader_files
glsl/vtkDepthOfFieldPassFS.glsl
glsl/vtkDepthPeelingPassFinalFS.glsl
......@@ -145,12 +137,6 @@ foreach(file ${shader_files})
HEADER_OUTPUT header
SOURCE_OUTPUT source)
list(APPEND Module_SRCS ${source})
set_source_files_properties(
${header}
${source}
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
endforeach()
if(VTK_USE_X)
......@@ -248,11 +234,6 @@ elseif(VTK_USE_COCOA)
vtkCocoaGLView.mm
PROPERTIES COMPILE_FLAGS "${VTK_REQUIRED_OBJCXX_FLAGS}")
endif()
set_source_files_properties(
vtkCocoaGLView
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
elseif(ANDROID)
# Add some custom overrides
vtk_add_override("vtkRenderWindowInteractor" "vtkAndroidRenderWindowInteractor")
......
......@@ -29,27 +29,6 @@ set(Module_SRCS
vtkOpenVRRenderWindowInteractor.cxx
)
set_source_files_properties(
vtkOpenVRCamera
vtkOpenVRControlsHelper
vtkOpenVRDefaultOverlay
vtkOpenVRFollower
vtkOpenVRHardwarePicker
vtkOpenVRInteractorStyle
vtkOpenVRMenuRepresentation
vtkOpenVRMenuWidget
vtkOpenVRModel
vtkOpenVROverlay
vtkOpenVRPanelRepresentation
vtkOpenVRPanelWidget
vtkOpenVRPropPicker
vtkOpenVRRenderer
vtkOpenVRRenderWindow
vtkOpenVRRenderWindowInteractor
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
# This option determines if the VR rendering code will become
# the default renderer
option(VTK_OPENVR_OBJECT_FACTORY
......
......@@ -30,12 +30,6 @@ set(OPTIX_SRCS
CUDA_COMPILE_PTX( ptx_files ${OPTIX_SRCS} )
set_source_files_properties(
${ptx_files}
vtkOptiXPtxLoader.cxx
PROPERTIES
WRAP_EXCLUDE_PYTHON 1)
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/vtkOptiXConfig.h.in"
"${CMAKE_BINARY_DIR}/include/vtkOptiXConfig.h"
)
......
......@@ -26,12 +26,6 @@ foreach(file ${shader_files})
HEADER_OUTPUT header
SOURCE_OUTPUT source)
list(APPEND Module_SRCS ${source})
set_source_files_properties(
${header}
${source}
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
endforeach()
add_definitions(-DVTK_OPENGL2)
......
......@@ -11,13 +11,6 @@ set(Module_SRCS
${CMAKE_CURRENT_BINARY_DIR}/vtkRenderingParallelLICObjectFactory.cxx
)
set_source_files_properties(
vtkMPIPixelTT.cxx
vtkPPixelTransfer.cxx
vtkPSurfaceLICComposite.cxx
PROPERTIES WRAP_EXCLUDE_PYTHON 1
)
option(
VTK_RENDERINGPARALLELLIC_SURFACELICPAINTER_TIMER
"enable parallel timers for the surface lic painter"
......@@ -51,12 +44,6 @@ foreach(file ${shader_files})
HEADER_OUTPUT header
SOURCE_OUTPUT source)
list(APPEND Module_SRCS ${source})
set_source_files_properties(
${header}
${source}
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
endforeach()
vtk_add_override(vtkLineIntegralConvolution2D vtkPLineIntegralConvolution2D)
......
......@@ -9,12 +9,6 @@ set(Module_SRCS
vtkVolumeTexture.cxx
)
set_source_files_properties(
vtkVolumeTexture
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
set(shader_files
shaders/raycasterfs.glsl
shaders/raycastervs.glsl
......@@ -31,12 +25,6 @@ foreach(file ${shader_files})
HEADER_OUTPUT header
SOURCE_OUTPUT source)
list(APPEND Module_SRCS ${source})
set_source_files_properties(
${header}
${source}
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
endforeach()
# Now for the object factory.
......@@ -53,11 +41,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(vtkRenderingVolumeOpenGL2 ${Module_SRCS})
include(vtkOpenGL)
......
......@@ -29,12 +29,6 @@ foreach(file ${JAVASCRIPT_SRCS})
HEADER_OUTPUT header
SOURCE_OUTPUT source)
list(APPEND Module_SRCS ${source})
set_source_files_properties(
${header}
${source}
PROPERTIES
WRAP_EXCLUDE_PYTHON 1
)
endforeach()