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
d96dcaa531
Another Mac/Clang fix.
2013-12-31 14:53:53 +01:00
1cb486cb33
Fixed Clang detection.
2013-12-31 11:19:00 +01:00
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
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
8747c05be9
Bump version number to 0.2.1
2012-12-27 00:04:40 +00:00
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
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
989cd453fe
Consolidate glew into one location to speed up build.
2012-11-23 23:01:50 +00:00
596bf12877
Run the feature detection at CMake time
2012-11-23 15:41:25 +00:00
f722640a5a
Bump version number to 0.2.0
2012-11-19 12:12:35 +00:00
d4edc1047e
Renamed 'PolyVoxImpl' to just 'Impl'.
2012-11-05 17:00:09 +01:00
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
480c159327
Add copyright headers to all the CMake files
2012-08-24 13:20:41 +01:00
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
8ac27912ae
Fix CMake files so it actually works on CMake 2.8.3
2012-07-23 11:11:31 +01:00
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
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
b9087ec6bf
Fix a few BUILD_→ENABLE_ changes that I missed
2012-07-17 20:26:00 +01:00
d7fc289035
Convert CMake variables from YES/NO to ON/OFF
2012-07-15 21:14:37 +01:00
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
6fd7079e7c
Update minimum CMake version and documentation.
2012-07-15 20:37:13 +01:00
ca6f98c339
Add preliminary feature_summary work
...
This uses a built-in command for displaying features.
2012-07-15 20:14:15 +01:00
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
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
baa1743d8f
Enable C++11 support for Clang
2012-02-25 22:42:05 +00:00
ccfa7db1fa
Initial commit of VolumeResampler and LOD demo.
2011-07-02 12:39:04 +01:00
7d76a1bb69
CMake fixes for Windows.
2011-04-28 11:56:33 +01:00
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
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
40295c84b1
Added paging example and reverted basic example back to it's previous state.
2011-03-20 22:42:05 +00:00
3752dda53f
Patch for improved Boost support for VS2008 and below.
2010-12-02 20:18:19 +00:00
8a3417461d
Add information about building the manual to the INSTALL.txt
2010-07-14 12:44:08 +00:00
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
c906e71bc3
Tidying up basic OpenGL example.
2010-07-09 21:36:29 +00:00
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
e470fc6b2e
Fix up the docs to reflect the latest changes.
2010-07-02 11:00:49 +00:00
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
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
7a3f3b2b28
Fix compilation on GCC
2010-05-24 20:12:09 +00:00
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
9d03360436
Tell CTest the correct location of the test binaries on Windows.
2010-03-05 12:24:46 +00:00
06ef752d05
Fixed windows build to install libraries and executables into the same folder.
2010-03-04 23:37:38 +00:00
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
b4194657ca
Make C++0x mode the default.
...
The option still remains to disable it.
2010-03-02 21:51:40 +00:00
04b93b18f6
Add a status message at the end of the CMake run.
...
Move the ADD_DEPENDENCIES() call inside the conditional.
2010-03-02 16:12:25 +00:00
3422503eeb
Add option to disable building examples or tests.
2010-02-25 16:53:48 +00:00
b3e6e54c1b
Add an extremely simple test which checks the size of the volume doesn't
...
change. This will hopefully also be tracked by the dashboard.
2010-02-24 16:32:36 +00:00
bced686fed
Add support for building on the CDash site. Running the 'Experimental'
...
target (that is, 'make Experimental' on Linux) will submit the build
results to http://my.cdash.org/index.php?project=PolyVox .
I've (hopefully) set up a nightly build as well.
2010-02-24 14:26:49 +00:00
1664a86a7b
Add CMake option for enabling C++0x mode. Might need tweaking to work in Windows.
2009-09-02 13:19:34 +00:00