Commit Graph

130 Commits

Author SHA1 Message Date
Laurent Rineau ad035ba167 Fix an important bug due to a typo ('z'<->'x') in the following commit:
| ------------------------------------------------------------------------
  | r66980 | sloriot | 2012-01-04 12:10:46 +0100 (Wed, 04 Jan 2012) | 3 lines
  | 
  | follow up of r66938 to avoid int overflow (suggested by Laurent)
  | 
  | 
  | ------------------------------------------------------------------------
2012-03-26 16:52:17 +00:00
Laurent Rineau 2fbd163e14 Factorize the installation command of CGAL library into the macro
The macro build_cgal_library(..) now defines the installation rules. That
should also fix a bug: now .dll files will be installed in
${CGAL_INSTALL_BIN_DIR}.
2012-01-25 16:49:39 +00:00
Eric Berberich 8ba476b328 added missing config flag 2012-01-24 13:13:43 +00:00
Laurent Rineau a37c74d534 Add license files, per package 2012-01-16 15:54:22 +00:00
Laurent Rineau 379ad4f80c Fix the wording of LGPLv3+ so that licensecheck detects it well 2012-01-16 14:14:28 +00:00
Laurent Rineau 3686ba1391 minor fix to the wording of LGPLv3+ 2012-01-13 13:36:56 +00:00
Laurent Rineau 5b5dd33848 merge changes from next 2012-01-09 12:33:39 +00:00
Sébastien Loriot fd4f086c2d follow up of r66938 to avoid int overflow (suggested by Laurent) 2012-01-04 11:10:46 +00:00
Sébastien Loriot 894b8c36d5 patch to prevent integer overflow 2011-12-29 08:14:37 +00:00
Andreas Fabri 529e88e308 Suppress warning on potential dll linkage problem 2011-10-20 12:32:10 +00:00
Laurent Rineau c37ce187ff Factorize the settings of VERSION/SOVERSION properties of libraries 2011-10-19 15:53:46 +00:00
Laurent Rineau 338c6a9925 Update the export feature to non-Microsoft compilers
Support the ELF visibility feature of gcc/icl/clang
2011-10-18 16:53:54 +00:00
Laurent Rineau 4b135885d0 I forgot to commit that yesterday 2011-10-18 13:20:08 +00:00
Andreas Fabri edecb70af6 Add export statements 2011-10-13 09:14:05 +00:00
Andreas Fabri b2307d8574 Add missing export statements 2011-10-13 08:40:24 +00:00
Laurent Rineau 5946c69608 merge from next 2011-10-12 13:52:06 +00:00
Andreas Fabri ba3e327a2f Suppress a conversion warning 2011-10-12 12:52:48 +00:00
Laurent Rineau dfba14f23c Rename <CGAL/$LIB/export.h> to <CGAL/export/$LIB.h> 2011-10-12 09:43:19 +00:00
Laurent Rineau 87148361ff Rename CGAL_BUILD_SHARED_LIB to CGAL_BUILD_SHARED_LIBS
Better name, and more coherent with CMake variable name:
  BUILD_SHARED_LIBS
2011-10-11 13:52:25 +00:00
Sébastien Loriot 3dfc826c51 LGPLv2.1 -> LGPLv3 for ImageIO 2011-10-10 14:04:01 +00:00
Laurent Rineau aa00f78883 Also support the compilation of CGAL libraries as static libs, with MSVC. 2011-10-06 16:01:16 +00:00
Andreas Fabri d1eb195a4e Add declspecs for Visual C++ so that we can build dlls 2011-10-06 09:55:53 +00:00
Andreas Fabri 4630cdca9c Add export.h 2011-10-06 09:53:56 +00:00
Laurent Rineau 49e4851fd5 QVTK no longer use QT3. Port the "demo" to Qt4. 2011-09-26 14:18:15 +00:00
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