109 Commits

Author SHA1 Message Date
David Williams
630affbf4d Moved bindings from inside 'library' folder to root folder. 2015-02-07 14:47:21 +01:00
Matt Williams
6d6b190743 Reorganise the CMake scripts to make sure the core library is independent 2014-12-10 15:53:25 +00:00
David Williams
86357d66b7 Normalized line endings 2014-09-25 22:38:01 +02:00
David Williams
b635e9d29d Copied BasicExample as base for new 'DecodeOnGPU' example. 2014-05-29 12:20:33 +02:00
David Williams
2da902d5f9 This change reverts PolyVox back to using Qt 4.8. This is expected to be a temporary change, required because moving to Qt 5 caused various complications on Windows which we are not yet ready to address.
For more details see here: https://bitbucket.org/volumesoffun/polyvox/issue/41/upgrade-to-qt-5
2014-05-05 20:29:52 +02:00
Matt Williams
45302fde02 Qt is not REQUIERD. This was causing errors. 2014-03-27 10:24:29 +00:00
Matt Williams
868fbb84a0 Update to use Qt5
The examples and tests now use Qt5. This allows some nice tidying of the
CMake files, some of which will come in future.

Closes issue #41
2014-03-09 18:02:24 +00:00
Matt Williams
00d1b8e10c Update required CMake version to 2.8.6 2014-03-09 17:55:14 +00:00
Matt Williams
cec740f429 Remove search for Boost
We don't use Boost anywhere any more so don't try to search for it.
2014-03-09 17:54:17 +00:00
Matt Williams
bc17c802bb Assume C++11 support
Remove all CMake checks for C++11 support since we now assume that we have it.
Replace all polyvox_* macros with standard C++ names.

See #48
2014-02-14 15:03:26 +00:00
David Williams
d96dcaa531 Another Mac/Clang fix. 2013-12-31 14:53:53 +01:00
David Williams
1cb486cb33 Fixed Clang detection. 2013-12-31 11:19:00 +01:00
Matt Williams
8ad0cae89a Add an example which uses the Python bindings
This is more or less a copy of the BasicExample but using ever so slightly more
modern OpenGL (>=3.0). I've tried to comment this as much as possible.

In addition to this simple example I will go on to develop a more complex
application as discussed in issue #21
2013-01-19 14:24:10 +00:00
Matt Williams
de26bb4b9c Merge branch 'hotfix/v0.2.1' into develop
Conflicts:
	library/PolyVoxCore/include/PolyVoxCore/LargeVolume.inl
	library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl
	library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.inl
2012-12-27 01:08:46 +00:00
Matt Williams
8747c05be9 Bump version number to 0.2.1 2012-12-27 00:04:40 +00:00
Matt Williams
9e7bb75687 Disable the C++11 feature detection on Visual Studio
There seems to be a bug in the interaction between CMake and Visual Studio
which floods the 'recent projects' list with the TRY_COMPILE projects.

If in the future this is fixed then it can re-enabled.
2012-12-26 15:40:59 +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
Matt Williams
989cd453fe Consolidate glew into one location to speed up build. 2012-11-23 23:01:50 +00:00
Matt Williams
596bf12877 Run the feature detection at CMake time 2012-11-23 15:41:25 +00:00
Matt Williams
f722640a5a Bump version number to 0.2.0 2012-11-19 12:12:35 +00:00
unknown
d4edc1047e Renamed 'PolyVoxImpl' to just 'Impl'. 2012-11-05 17:00:09 +01:00
Matt Williams
2e71019d8f Don't fail if Qt isn't installed
If Qt isn't installed, set the reporting variables correctly but don't fail.
2012-10-25 20:10:37 +01: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
8ac27912ae Fix CMake files so it actually works on CMake 2.8.3 2012-07-23 11:11:31 +01:00
Matt Williams
42d2a777ac Mark some internal variables as advanced in CMake
This stops them from appearing by default in cmake-gui and ccmake.
2012-07-19 19:56:40 +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
b9087ec6bf Fix a few BUILD_→ENABLE_ changes that I missed 2012-07-17 20:26:00 +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
6fd7079e7c Update minimum CMake version and documentation. 2012-07-15 20:37:13 +01:00
Matt Williams
ca6f98c339 Add preliminary feature_summary work
This uses a built-in command for displaying features.
2012-07-15 20:14:15 +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
baa1743d8f Enable C++11 support for Clang 2012-02-25 22:42:05 +00:00
David Williams
ccfa7db1fa Initial commit of VolumeResampler and LOD demo. 2011-07-02 12:39:04 +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
40295c84b1 Added paging example and reverted basic example back to it's previous state. 2011-03-20 22:42:05 +00:00
David Williams
3752dda53f Patch for improved Boost support for VS2008 and below. 2010-12-02 20:18:19 +00:00
Matt Williams
8a3417461d Add information about building the manual to the INSTALL.txt 2010-07-14 12:44:08 +00:00
Matt Williams
5e62a35f42 Add a CMakeLists.txt which provides the 'manual' target for building the Sphinx documentation. This may require you to set the SPHINXBUILD_EXECUTABLE CMake variable to the sphinx-build executable
Change the file extension to 'rst' rather than 'txt' to avoid clashes with CMakeLists.txt and to help syntax highlighting.

Add the doxylink Sphinx extension from sphinx-contrib to provide Doxygen links.
2010-07-14 10:31:15 +00:00
David Williams
c906e71bc3 Tidying up basic OpenGL example. 2010-07-09 21:36:29 +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
765739f450 Move the find_package(Qt4...) bit into the root CMakeLists.txt file since it is used by both the tests and library subdirectories. 2010-07-02 10:49:47 +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
7a3f3b2b28 Fix compilation on GCC 2010-05-24 20:12:09 +00:00
David Williams
7ffcd0c7ed Move to VS 2010.
Update to Ogre SDK 1.7.1
Removed support for compilers which don't adhere to C++0X
2010-05-23 21:51:34 +00:00