32 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
4916b5952b Fix type in CMake variable.
It would be nice if CMake issued warnings in cases like this but it
seems that it is currently unable to.
2012-07-18 20:36:07 +01:00
Matt Williams
b9087ec6bf Fix a few BUILD_→ENABLE_ changes that I missed 2012-07-17 20:26:00 +01:00
David Williams
1aa1978de1 Removed now redundant cpp files.
Removed a test which we don't need any more.
2012-07-08 08:52:36 +02:00
Matt Williams
42e2ebf734 Add a Python test to the suite to test surface extraction 2012-06-21 22:25:20 +01:00
unknown
b3f3723a53 Added test for cubic surfce extractor. 2012-03-27 16:06:43 +02:00
unknown
d2a94ac6f4 Added test for raycast. 2012-02-23 17:08:00 +01:00
unknown
26ea1d8ad3 Added surface extractor tests templatised on voxel type. 2012-02-19 11:24:46 +01:00
unknown
ce11a7a0ae Renamed test funtion. 2012-01-24 16:12:04 +01:00
p265186
49b5fb3f67 Refactoring of basic voxel types. 2012-01-12 17:14:45 +01:00
David Williams
7bbdb1a29d Added equality/inequality tests for vector and region. 2011-09-24 11:02:01 +01:00
David Williams
c73b45b721 Fixed bug with RawVolume always starting coordinates at (0,0,0).
Removed Filters.h/.inl
Added Summed Area Table support to LowPassFilter.
Added test for low pass filter.
2011-08-13 08:57:45 +01:00
David Williams
d1649c9323 More work on base Volume class and sampler.
Added new test case for creating a volume subclass.
2011-07-30 10:12:28 +01:00
David Williams
1472a6a304 Added test for AStarPathfinder. 2011-07-02 00:57:41 +01:00
David Williams
ffa4fcaade Added test for AmbientOcclusionCalculator. 2011-06-11 18:04:04 +01:00
David Williams
ea309ab15b Renamed Volume to LargeVolume. 2011-04-28 21:21:59 +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
Matt Williams
4bdba629fb Add stub of test to compile the Material class. 2010-12-21 21:11:36 +00:00
David Williams
fdf21f7846 It seems that for the tests to build (at least on Windows) they need to link against QtCore as well as QtTests. 2010-08-21 09:43:42 +00:00
Matt Williams
dbce411553 Make the tests only link against QtTest (i.e. not QtGui) so that they can be run outside of X11. 2010-07-21 15:14:36 +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
2da20ff2ef Add warning message if QtTest could not be found. 2010-07-01 12:58:19 +00:00
David Williams
5e687fbd58 Added unit test for Array class. 2010-03-28 00:11:41 +00:00
Matt Williams
6f70396c9a Cleaner way of requesting Qt modules 2010-03-05 15:15:42 +00:00
Matt Williams
9d03360436 Tell CTest the correct location of the test binaries on Windows. 2010-03-05 12:24:46 +00:00
Matt Williams
0db01213a7 Set Qt to be a required package 2010-03-02 16:08:33 +00:00
Matt Williams
e7522e23a8 Add some simple vector tests 2010-02-26 16:12:16 +00:00
Matt Williams
7597b56620 Improve test macro.
Add include guards to the test header.
2010-02-26 16:11:13 +00:00
Matt Williams
6a828ec244 Reorganise the test CMakeLists.txt file.
Add a CMake macro for easily adding new tests.
2010-02-26 15:13:10 +00:00
Matt Williams
fe3961c041 Use QTestLib to harness the tests. 2010-02-25 12:20:44 +00:00
Matt Williams
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