15 Commits

Author SHA1 Message Date
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
David Williams
9f0ae602b8 Increased warning level in Visual studio. 2011-07-19 22:09:24 +01:00
David Williams
528cb73771 Moved headers into subdirectories. 2011-05-17 22:27:46 +01:00
David Williams
7d76a1bb69 CMake fixes for Windows. 2011-04-28 11:56:33 +01:00
Matt Williams
fce8089264 Update ADD_DEPENDENCIES calls
Update for the static and dynamic options and add
some more calls for PolyVoxUtil and the tests.
2011-04-24 14:50:13 +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
ef52b906e6 Switched PoyVox to build as a static library. 2011-04-20 23:25:32 +01:00
David Williams
254fa3329e PolyVox and Thermite3D now support the use of a density component as well as a material component for each voxel. 2010-06-25 21:41:13 +00:00
David Williams
4c8c1593c0 Removed '_d' from debug file names. 2010-03-08 23:22:05 +00:00
Matt Williams
5db2913e41 Make it work slightly better in Windows.
I tried with MinGW in Qt Creator and it now compiles. There's a crash though, possibly due to the TypeDef.h stuff.
I need to recompile Qt in VS before I can try it in VS 2010.
2010-03-04 22:01:06 +00:00
Matt Williams
e9b963acc2 Use shortcut variables to point to PolyVoxCore source and binary directories. 2010-03-02 22:24:56 +00:00
David Williams
c695a7bc86 Initial work on progressive mesh generation. Currently based on Stan Melax's PolyChop. 2009-10-20 22:02:58 +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