Commit Graph

106 Commits

Author SHA1 Message Date
Laurent Rineau 0c8b4d894e Fix CMakeLists.txt: Qt3 is used. 2011-06-04 16:57:32 +00:00
Marc Glisse 9ad023eeb2 Don't include compiler_config.h directly. 2011-05-30 10:12:38 +00:00
Laurent Rineau 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau 0631943153 Uniform capitalization in our CMake script: use lowercase for commands 2011-04-28 10:36:18 +00:00
Laurent Rineau 4b795c56f4 Global handling of CMake policies
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.
2011-04-28 10:33:17 +00:00
Laurent Rineau 6f05e72cef Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 18:06:32 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Laurent Rineau ff2044190d Fix the branch-build in next 2011-04-15 09:33:26 +00:00
Eric Berberich eb7a5ed11e branch-build is now HOT on next ;-) 2011-04-15 09:12:06 +00:00
Sébastien Loriot 8ce2048aea add #include<CGAL/config.h> before any directive CGAL_USE_* 2011-03-02 18:52:57 +00:00
Sébastien Loriot 0ebdccfa4e update URL and Id tag 2011-03-02 14:59:51 +00:00
Laurent Rineau d2fa7372e4 Let libCGAL_ImageIO set temporarily the LC_NUMERIC locale to "C", during
the read/write operation of Inrimage headers. Otherwise the I/O operations
can fail when the decimal point is not a dot.
2010-10-04 08:20:48 +00:00
Sylvain Pion 5fda817f95 Remove a few "warning: extra ';'" with g++ -pedantic. 2009-11-14 11:49:52 +00:00
Sylvain Pion 34db2978c4 Remove unused makefiles. 2009-08-20 14:08:25 +00:00
Sylvain Pion 2815308795 Remove obsolete makefiles 2009-08-20 13:58:35 +00:00
Laurent Rineau b6f567e260 add a new cmake variable in CGALConfig.cmake, so that one can detect if CGAL_ImageIO is build with ZLIB support. Use that variable in examples/Mesh_3/. 2009-07-23 15:02:02 +00:00
Stéphane Tayeb 86527359ed Minor Bug Fix: trilinear interpolation may crash when querying with coordinates between -1 and 0. Add a test on real coordinates to exit interpolation if it is < 0. 2009-07-08 11:22:48 +00:00
Fernando Cacciola 24f08fc681 Added demos to the demos target 2008-12-18 17:29:36 +00:00
Laurent Rineau f3078e4547 Quote the characters '"' in post-build commands. If TargetDir==C:\Program
Files\CGAL-3.4\, that is needed.
2008-12-16 14:47:16 +00:00
Laurent Rineau 7d2ac1e8d7 Hide the option "WITH_VTK". Adventurous users may have problems with the
side-effects of it (mainly, FindVTK.cmake overrides CPP flags, and even the
CMAKE_CXX_COMPILER!!).
2008-12-15 09:56:35 +00:00
Laurent Rineau 6f5cb67bdd Remove the demo directory.
demo/CGALimageIO/ is CGAL-VTK demo. Not really tested.
2008-11-26 09:09:48 +00:00
Laurent Rineau fba90014b9 Remove an assertion. I am not sure that assertion is theorically correct. 2008-11-19 19:24:31 +00:00
Laurent Rineau 0d17a78554 - Remove QUIET.
- Fix the inclusion of OPENGL variables in CGAL_ImageIO_3RD_PARTY_*, when
  ZLIB is not found.
2008-11-19 09:10:30 +00:00
Laurent Rineau 7664f90543 Make ZLib an *optional* dependency. 2008-11-18 14:19:38 +00:00
Laurent Rineau 1bcac34f28 - Test the trilinear interpolation with a real image, taken from
examples/Surface_mesher/data/.
- Fix the trilinear interpolation when vx/vy/vz are not all equal to 1.
2008-11-17 13:34:21 +00:00
Laurent Rineau 1e696a6907 - Move up the "set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)", to avoid errors.
- At the same time, I add the comment to the endif() of if(COMMAND
  cmake_policy).
2008-11-13 10:06:16 +00:00
Laurent Rineau eeac591e0f Add and test a trilinear interpolation for labellized images. 2008-11-10 17:38:35 +00:00
Laurent Rineau fa912f218c Add NOTICE: where needed, so that the test results scripts can generate a "r". 2008-11-10 11:09:21 +00:00
Fernando Cacciola 547bffecd9 Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4 2008-11-06 13:03:41 +00:00
Laurent Rineau 1418ecd7ce Fix the CMakeLists.txt: one need to link with Qt. 2008-11-06 09:15:22 +00:00
Laurent Rineau ee8d9b6b97 WITH_VTK is not defined by CGALConfig.cmake. 2008-11-05 13:15:18 +00:00
Fernando Cacciola 994028ec51 Prefixed CreateSingleSourceCGALProgram.cmake with CGAL_ 2008-11-04 13:09:48 +00:00
Fernando Cacciola 70fa9503fd Added CMP0003 policy 2008-11-04 12:30:29 +00:00
Fernando Cacciola 6bae1045df Fixed handling of flags when defined interactively 2008-11-03 21:00:22 +00:00
Andreas Fabri 9597450d53 Suppress deprecated warning for fileno and strdup 2008-10-31 21:02:10 +00:00
Laurent Rineau 6f789d3e94 Add -DCGAL_USE_ZLIB, so that zlib code is activated. 2008-10-30 16:26:10 +00:00
Laurent Rineau 54fd823261 Add benches, and improve the implementation of trilinear_interpolation. 2008-10-30 15:20:04 +00:00
Laurent Rineau a63ed4f05f Fix the trilinear interpolation, and its test. 2008-10-30 14:11:01 +00:00
Laurent Rineau 11cd0ee8e3 Remove unneeded stuff. 2008-10-30 14:10:43 +00:00
Laurent Rineau c7c2ee29fb Fix CGAL_ImageIO_ERG_PARTY_* variables, when VTK is used. 2008-10-30 11:19:00 +00:00
Laurent Rineau d5f352c6c5 Fix that CMakeLists.txt file, if VTK is used. 2008-10-30 10:53:13 +00:00
Laurent Rineau b714f4cd32 Add a trilinear interpolation, and a test for it. 2008-10-30 09:48:22 +00:00
Laurent Rineau ac69199dbd Add the implementation of _createImage, which was missing. 2008-10-30 09:47:56 +00:00
Laurent Rineau e89f1739ab Remove a debug output. 2008-10-30 09:46:54 +00:00
Fernando Cacciola d70bdaea18 Prefixed cmake variables with CGAL_ 2008-10-23 14:59:02 +00:00
Laurent Rineau f10a590672 Mass-remove vcproj files. 2008-10-21 09:21:22 +00:00
Laurent Rineau de29665fc0 - License modification: now LGPL v2.1.
- Pierre has not modified include/CGAL/Image_3_vtk_interface.h: I am the
  only author.
2008-10-17 08:39:19 +00:00
Sylvain Pion 1652fec82f Add license notice. 2008-10-13 12:46:01 +00:00
Laurent Rineau 43cc745311 Commit work of previous days (week-end, yesterday and this morning):
The surface mesher Qt4 demo can now deal with labellized images.
2008-10-07 13:00:59 +00:00