[vtk-developers] Python wrapping - Constants
Jean-Christophe Fillion-Robin
jchris.fillionr at kitware.com
Fri Sep 23 14:00:13 EDT 2011
Folks,
Doing something similar to what is described below, constants (#define
VTK_FOO 2) can be wrapped.
This is great.
//---------------
[...]
set(KIT_WRAP_HEADERS ${CMAKE_BINARY_DIR}/vtkMyProjectConfigure.h)
set_source_files_properties(${KIT_WRAP_HEADERS} PROPERTIES WRAP_HEADER 1)
[...]
VTK_WRAP_PYTHON3(vtkMyProjectPython KIT_PYTHON_SRCS "${KIT_WRAP_HEADERS}")
[...]
//---------------
Nevertheless, It seems only constant starting with "VTK_" are wrapped.
How could I have constant of the form "MyProject_*" also wrapped ?
The version of VTK I am using is:
f5124d5c57e<http://vtk.org/gitweb?p=VTK.git;a=commit;h=f5124d5c57e>
Thanks
Jc
--
+1 919 869 8849
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110923/0790e81b/attachment.html>
More information about the vtk-developers
mailing list