25 Commits

Author SHA1 Message Date
Matt Williams
f5ea8878c2 Add a default CompilerCapabilities.h
This file assumes that the compiler doesn't support anything. If building
without CMake, it will be used and if you want to enable things, the file
can be edited.

When using CMake, a proper CompilerCapabilites.h will be generated and
CMake will set the include path order correctly in order to source the
correct file.
2012-12-26 12:54:52 +00:00
David Williams
74f25eac23 Merge branch 'develop' into feature/cmake-cxx11-detect
Conflicts:
	examples/Basic/CMakeLists.txt
	examples/OpenGL/CMakeLists.txt
	examples/Paging/CMakeLists.txt
	examples/SmoothLOD/CMakeLists.txt
	library/PolyVoxCore/include/PolyVoxCore/Impl/TypeDef.h
2012-12-24 20:08:31 +00:00
David Williams
7e38fc135e Removed features which were deprecated in release 0.2. 2012-12-03 21:22:57 +01:00
Matt Williams
3902e00a0f Add a CompilerCapabilities.h.in file which is filled in by CMake
It will #define a each of the basic features detected by CMake which can
then be used by other headers (like TypeDef.h) to set things up for
PolyVox.

It is this file which you will have to manually edit and rename if you want
to skip using CMake.
2012-11-23 15:41:26 +00:00
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
unknown
30b45114ac Changed a single instance of PolyVoxUtilStatic to PolyVoxUtil. 2012-07-20 10:16:23 +02:00
Matt Williams
0d1c2e178a Build the static library as position independent
This allows it to be compiled into other shared libraries (like the Python
bindings) on x86_64 Linux systems.
2012-07-19 18:01:31 +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
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