Commit Graph

87 Commits

Author SHA1 Message Date
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
97b162ee20 Work on basic logging framework. 2009-04-06 21:16:40 +00:00
a9ab2f2d4d Add first iteration of SDK building.
Builds a PolyVox NSIS installer with the 'package' target.
2009-03-26 18:03:21 +00:00
5a30062c6d Minor changes to CMakeLists.txts 2008-12-16 12:17:30 +00:00
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
29ef5f021e Rearranging files in PolyVox. 2008-07-03 19:17:17 +00:00
4f546d1dc4 Working on refactoring code into namespaces - DOES NOT BUILD 2008-07-02 21:36:56 +00:00
f8a090abba Moving stuff around - not currently buildable! 2008-06-08 19:48:39 +00:00
119cd925f0 Moving stuff around - not currently buildable! 2008-06-08 19:05:49 +00:00
adff2177fd Moved some code around... 2008-06-08 18:03:20 +00:00
f75805999d Reorganising some code... 2008-06-08 17:51:36 +00:00
f6f5cb524d Initial check-in of OpenGL example. Doesn't do anything yet. 2008-06-08 15:09:45 +00:00
6fdbbc9b41 Updated CMake files with 'CMAKE_MINIMUM_REQUIRED(VERSION 2.6)'
Also slight change to the way boost is found.
2008-06-08 09:47:52 +00:00
c8d632b554 Renamed VolumeIterator to BlockVolumeIterator 2008-05-26 20:07:06 +00:00