Very cool :-)<br><br><div class="gmail_quote">On Fri, Jul 8, 2011 at 11:52 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All,<br>
<br>
I've created a new vtkPythonConfigure.h, and the new vtkPython.h in<br>
VTK master includes this configure file instead of including the main<br>
vtkConfigure.h. The macros defined in the new file are as follows:<br>
<br>
VTK_PYTHON_MAJOR_VERSION<br>
VTK_PYTHON_MINOR_VERSION<br>
VTK_PYTHON_MICRO_VERSION<br>
VTK_PYTHON_VERSION_HEX<br>
VTK_NO_PYTHON_THREADS<br>
VTK_WINDOWS_PYTHON_DEBUGGABLE<br>
<br>
The VERSION macros can be used to check what version of python<br>
VTK was configured with. Now vtkPython.h will throw an error if the<br>
user attempts to compile a different version of python than was used<br>
at configuration time. Only the first two version numbers are checked,<br>
i.e. it is possible to configure against python 2.6.1 and compile<br>
against python 2.6.5.<br>
<br>
These macros have also allowed me to fix a couple dashboard warnings<br>
related to Python.h.<br>
<br>
- David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br>