49 Commits

Author SHA1 Message Date
David Williams
bc01223237 Removed some unecessary hierarchy in VS project structure.
Renamed the documentation targets in VS for clarity.
2012-09-28 14:07:13 +02:00
David Williams
4b63c34305 Brought the manual and API docs together under the same heading in Visual Studio. 2012-09-28 13:54:27 +02:00
Matt Williams
480c159327 Add copyright headers to all the CMake files 2012-08-24 13:20:41 +01:00
Matt Williams
b96309f4a4 Use the CMake folder tool to help IDEs groupt targets.
This is done as seen in http://athile.net/library/blog/?p=288

Hopefully this works in Visual Studio as KDevelop doesn't use this feature.
2012-08-12 04:29:51 +01:00
Matt Williams
f11b4e17c1 Build only one of static or shared libraries
As discussed on the forums, to simplify the CMake code and avoid having to
manually specify dependencies this removes the hack to allow both static
and shared libraries to be built at the same time.

It introduces the new variable LIBRARY_TYPE which can be either STATIC or
DYNAMIC.

See: http://www.volumesoffun.com/phpBB3/viewtopic.php?p=3203#p3203
2012-07-19 17:33:34 +01:00
Matt Williams
00e2f37f31 Change BUILD_{STATIC,SHARED}_LIBRARIES to ENABLE_ 2012-07-15 20:49:39 +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
acd3c3c791 Fix SWIG bindings
The bindings now compile and in Python a mesh can be extracted from a volume.
The only extractor currently bound is SurfaceExtractor<SimpleVolume, Material8>.

The bindings are still commented out in library/CMakeLists.txt by default.
2011-06-07 20:33:01 +02:00
Matt Williams
ac0fb2b310 Make dynamic or static libraries optional
The user can choose static or dynamic libraries using
BUILD_STATIC_LIBRARIES and BUILD_DYNAMIC_LIBRARIES. By default
Windows will only build static libraries and Linux will build both.
2011-04-21 21:40:51 +02:00
David Williams
7be083a243 Implemented cache of uncompressed blocks. 2011-02-06 18:24:05 +00:00
David Williams
26081fd4ba Got the Vector class working in Python through SWIG. 2010-12-27 11:54:49 +00:00
David Williams
78cda39c38 Disabled accidentely commited non-functioning SWIG stuff. 2010-12-27 10:43:38 +00:00
David Williams
fd2070bd90 OpenGL examples fix for Linux. 2010-12-27 10:34:51 +00:00
Matt Williams
b6f64ea3f8 Put the Qt Help stuff in a different folder under the build directory. 2010-07-02 18:38:43 +00:00
Matt Williams
b00360d323 Make installing the docs OPTIONAL so that there's no error if the user runs 'make install' without having run 'make doc'. 2010-07-02 14:22:12 +00:00
Matt Williams
c7514c975f More cleaning up of the Qt 'dependency'. Qt is now used by the tests, the OpenGL example and the documentation. These are of course all optional components. 2010-07-02 13:57:34 +00:00
Matt Williams
e470fc6b2e Fix up the docs to reflect the latest changes. 2010-07-02 11:00:49 +00:00
Matt Williams
0f786ede64 Make qcollectiongenerator even more optional. If both Doxygen and qcollectiongenerator are found then the HTML docs will be created and bundled into a Qt Help Collection. However, if qcollectiongenerator is not found, the HTML docs will still be created. 2010-07-02 10:51:54 +00:00
Matt Williams
11f47ba86d It seems VERBATIM is needed. 2010-07-01 15:40:44 +00:00
Matt Williams
1fac2a36a0 Nicer formatting for CMakeLists.txt and add some comments to polyvox.qhcp.in. 2010-07-01 14:27:31 +00:00
Matt Williams
16ed15ee5f qcollectiongenerator (comes with Qt Assistant) is now also required for building the documentation. This allows us to open the Doxygen-generated docs in Qt Assistant and have them fully searchable. This should all work on Windows too as long as Doxygen is installed.
See the changes to INSTALL.txt for details of the change.
2010-07-01 12:57:37 +00:00
Matt Williams
c066c72c6d More fidling and nicefying of the build system.
Add better C++0x support check to warn on old versions of GCC.
2010-03-03 15:50:50 +00:00
Matt Williams
9df6288c67 Update Linux install paths to be FHS compliant. Windows paths should be unchanged. 2009-08-31 18:25:26 +00:00
David Williams
df1bf690c9 Massive changes to the organisation of PolyVoxCore and PolyVoxYtil.
Also added start of logging capability.
2009-04-03 21:36:22 +00:00
David Williams
92cf2402e2 Moved various files from PolyVoxCore to PolyVoxImpl. 2009-04-02 20:37:43 +00:00
David Williams
bd1d2b2244 Moved various files from PolyVoxCore to PolyVoxImpl. 2009-04-01 22:51:13 +00:00
David Williams
da6cc053fc More C++0x support stuff. 2009-03-30 21:15:37 +00:00
David Williams
329093abcf Work on mimicing C++0x support using boost. 2009-03-30 19:32:34 +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
David Williams
d574a18ce3 Added the parts of boost which we need to access shared_ptr and weak_ptr. This will allow for improved memory management of large volumes. 2009-03-29 22:07:27 +00:00
Matt Williams
58355da40b A few more tiny steps in the right direction
Getting templates to work is the next thing
2009-03-28 13:08:29 +00:00
Matt Williams
c65c23acf4 Use correct file extensions for python dlls
Build it as  'PolyVoxCore' module
2009-03-27 23:00:37 +00:00
Matt Williams
27b17cf348 Extremely basic first go at SWIG bindings
Only Enums.h is wrapped so far and I haven't tested it
For now I will focus on Python but Java and C# will be useful too
2009-03-27 18:54:20 +00:00
David Williams
fab64488ee Renamed Block to BlockData. Introduced new Block class which can be shared. 2009-03-26 21:17:37 +00:00
Matt Williams
a9ab2f2d4d Add first iteration of SDK building.
Builds a PolyVox NSIS installer with the 'package' target.
2009-03-26 18:03:21 +00:00
David Williams
d951f4d3b0 Renamed BlockVolume to Volume.
Renamed BlockVolumeIterator to VolumeIterator.
2009-03-19 22:04:34 +00:00
David Williams
7100e558f3 Removed LinearVolume class. 2009-03-10 22:10:37 +00:00
Matt Williams
2ae98647f6 Add 'doc' target to PolyVox to create doxygen docs 2009-03-02 16:43:25 +00:00
Matt Williams
5b52f8c65f Fix the PolyVoxConifg[Version].cmake files.
Dave, try renaming Thermite's FindPolyVox.cmake file and see if cmake correctly finds PolyVox one it's been installed with these changes
2009-02-27 16:40:04 +00:00
Matt Williams
42f66378ea Change CMake install path for Linux 2009-02-27 16:15:18 +00:00
Matt Williams
5a30062c6d Minor changes to CMakeLists.txts 2008-12-16 12:17:30 +00:00
Matt Williams
7c9cefc2d6 Add missing headers causing compile errors on Linux
Don't build GL example at all on Linux
Add PolyVoxConfig.cmake file
2008-11-22 20:09:59 +00:00
David Williams
68d0353cff Added skybox support. This highlighted the fact that the volume was the wrong way round, so an initial version of the tool 'VolumeMagick' is also added for changing this kind of stuff. This in turn meant refactoring volume loading/saving code from thermite into PolyVoxUtil. 2008-07-19 15:42:02 +00:00
David Williams
75d1136d96 Removed RegionGeometry class.
Did lots of clean up.
2008-07-05 20:56:55 +00:00
David Williams
c2e69e0d72 Moved some surface extraction stuff into PolyVoxImpl 2008-07-04 21:03:12 +00:00
David Williams
29ef5f021e Rearranging files in PolyVox. 2008-07-03 19:17:17 +00:00
David Williams
957d8715e7 Moving stuff around - not currently buildable! 2008-06-08 19:08:35 +00:00
David Williams
2374082542 Work on CMake for OpenGL example. 2008-06-08 18:49:04 +00:00
David Williams
adff2177fd Moved some code around... 2008-06-08 18:03:20 +00:00