Matt Williams
5d93eef5ac
Add dependencies to SWIG bindings
...
Due to the hack in which we enable the building of both static and
shared libraries CMake's automatic dependency sorting isn't working.
Manually specifying the dependency seems to solve the problem of
components building out of order.
2012-07-18 20:36:55 +01:00
Matt Williams
d7fc289035
Convert CMake variables from YES/NO to ON/OFF
2012-07-15 21:14:37 +01:00
Matt Williams
2b5024591e
Move some feature_summary stuff around
...
Move set_package_properties and add_feature_info calls around to more
sensible ordering and positions.
2012-07-15 21:10:31 +01:00
Matt Williams
11685a1874
Rename BUILD_TESTING to ENABLE_TESTS and WITH_BINDINGS to ENABLE_BINDINGS
...
This is for future consistency where ENABLE_ variables will denote optional
components of PolyVox and WITH_ variables denote optionally using features
provided by external libraries (e.g. OGRE compatibility).
2012-06-26 17:08:44 +01:00
Matt Williams
c681fac66a
Add option to disable building the bindings.
...
If you want to disable them, even if SWIG and Python were both found, set
WITH_BINDINGS to NO with -DWITH_BINDINGS=NO or in the CMake GUI.
2012-06-21 20:31:04 +01:00
Matt Williams
5985aa5ec2
Re-enable SWIG compilation
...
For now only enable Vector, although some other
may work but will need testing.
2012-06-15 00:19:49 +02:00
Matt Williams
7a14b9245b
Fix compilation of bindings
...
The bindings now compile but are not complete. SWIG doesn't support
nested classes so the SimpleVolume can't be bound.
2011-05-23 22:45:50 +02:00
Matt Williams
cb0a746b6f
Update include paths for bindings to new layout.
2011-05-22 21:33:32 +02:00
David Williams
26081fd4ba
Got the Vector class working in Python through SWIG.
2010-12-27 11:54:49 +00:00
Matt Williams
a4a8362dba
Example builds now
...
Seg faults on running though
2009-03-30 13:09:23 +00:00
Matt Williams
1fb999966f
Put the bindings CMake stuff in a separate directory to keep things clean
...
Fully remove the if(win32) stuff from the examples
2009-03-29 23:02:03 +00:00