Commit Graph

127 Commits

Author SHA1 Message Date
Laurent Rineau 0a081c2abd Add an option to check the syntax of headers, individually.
That feature can be enabled with g++, clang++, and icpc (intel). It could
be implemented for MSVC, with the flag /Zs, but that is not yet done (and
probably will not).

The option is controlled by a CMake option, CGAL_ENABLE_CHECK_HEADERS, that
is disabled by default. If that option is enabled by the user, then CMake
will check if the compiler $CXX understand the syntax:
  $CXX -x c++ -fsyntax-only CGAL/header.h
and send an error otherwise.

Then phony targets will be created:
  - a target check_CGAL__header_h for each header <CGAL/header.h>,
  - a target check_pkg_<pkg> for each package <pgk>,
  - and a target check_headers for the whole CGAL.

Those new targets currently give a lot of compilation errors if
CGAL_ENABLE_CHECK_HEADERS is enabled!

+ fix several missing includes in Mesh_2.
2012-10-05 12:21:44 +00:00
Sébastien Loriot 91a5327fa8 change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
Sébastien Loriot dff6dda8b3 Remove from copyright holder
Freie Universitaet Berlin (Germany), Martin-Luther-University Halle-Wittenberg
(Germany) and RISC Linz (Austria) as they transfer the copyright to other
sites.
2011-09-21 19:46:31 +00:00
Luis Peñaranda 9725595f60 updated my mail address 2011-03-22 08:07:15 +00:00
Laurent Rineau 0f8ab08585 Fix: do not detect clang as a gcc version. 2010-09-22 16:02:12 +00:00
Laurent Rineau 4fe4a65f6c - Fix try_run in CGAL_UseMPFI.cmake: move the test file in cmake/modules/. 2010-03-18 10:32:49 +00:00
Laurent Rineau 502a259822 test files should not use assert (NDEBUG might be defined). 2010-03-17 14:49:41 +00:00
Luis Peñaranda 50b490fd26 Added test to see whether the installed version of MPFI works. 2010-03-17 14:28:15 +00:00
Laurent Rineau ab03f7cf80 Add support for the Intel Compiler version 11.0 and after:
-fp-model strict must be added to the compiler flags.
2009-07-09 09:55:53 +00:00
Sylvain Pion 92f2d85b65 Refines the test so that it fails at link when using a wrong std::string,
since std::string appears in the ABI of Boost.PO.
This happens with GCC's parallel or debug mode.
(admittedly, a further refinement could be to have 2 test programs,
but it's probably an overkill).
2009-05-05 15:25:31 +00:00
Sylvain Pion a5380a1f20 Remove install_cgal and accompanying files. 2009-04-26 13:28:41 +00:00
Laurent Rineau 29104437a6 Fix to get the OpenGL version on Darwin too. 2008-11-12 10:36:15 +00:00
Andreas Fabri 758278da6b print LEDA version 2008-11-12 08:49:45 +00:00
Laurent Rineau 0c6ae34dee Use full __VERSION__ macro. 2008-10-15 13:56:41 +00:00
Laurent Rineau a8cdc7ca4a Remove Boost.Bimap FEATURE: it is now hard-coded that bimap is supported iff boost version is >= 1.35 2008-09-24 09:13:57 +00:00
Fernando Cacciola d238699598 Avoid a compiler error if this is tried with a non-gcc compiler which cmake thinks it is (such as pgCC) 2008-09-18 18:54:43 +00:00
Fernando Cacciola de55891e4d Fixed gcc-version detection 2008-09-11 18:58:21 +00:00
Fernando Cacciola 84c3df829c Added gcc-specific flags 2008-09-11 18:20:48 +00:00
Sylvain Pion dcefe2bffa Use <OpenGL/gl.h> on __APPLE__ also in the test program.
(why do people not use <CGAL/gl.h> in demos ?)
2008-09-08 11:40:39 +00:00
Laurent Rineau 208c3ec838 Improved the test for Boost.Bimap. 2008-09-02 08:42:47 +00:00
Laurent Rineau 912b64df6f Fix detection of Boost.Bimap (in Boost versions >= 1.35). 2008-09-01 12:07:48 +00:00
Sylvain Pion 7af954d3e4 OpenGL on Leopard needs a workaround linker flag. 2008-08-01 13:30:14 +00:00
Fernando Cacciola 56c402b0fe Removed obsoleted cmake modules
Moved print_*_version to the right directory
Fixed prinout of boost and gmpxx version numbers
Automatically skip demos and example when running the testsuite
2008-07-17 14:03:25 +00:00
Michael Kerber 95054e0899 Filenames consistent 2008-06-18 09:20:44 +00:00
Michael Kerber 1b12f5a607 Included option for LEDA 6.0 2008-02-28 16:33:51 +00:00
Sylvain Pion 4d1b8d63e3 Remove workarounds and support for the BORLAND compiler. 2008-01-20 20:24:20 +00:00
Sylvain Pion 50ed4bb632 Use <cstdlib> and <cstdio> consistently instead of <stdio.h> and <stdlib.h>. 2008-01-18 20:33:57 +00:00
Sylvain Pion d06bf3c695 Add config for Fedora 8 (lib name varies). 2008-01-15 18:45:00 +00:00
Sylvain Pion affe68b4f7 Add detection of Boost.Thread. 2007-12-19 16:12:20 +00:00
Laurent Saboret 3ade5b0811 Support of CBLAS, CLAPACK and TAUCS in install_cgal on Windows 64 and Linux 64. I renamed S72-LAPACK to S72-DEFAULTLAPACK to workaround a bug in install_cgal when a package and a feature have the same name. 2007-08-28 15:15:06 +00:00
Sylvain Pion a9419ee49d Add <cstring> otherwise <gmpxx.h> from GMP-4.1.4 does not work with g++ 4.3. 2007-06-08 13:49:17 +00:00
Sylvain Pion 963fb6928c Port Fink support changes to trunk. 2007-05-22 09:18:19 +00:00
Sylvain Pion 7cec95ffb9 Remove IRIX support. 2007-05-22 07:57:24 +00:00
Laurent Saboret be318c6d5f TAUCS requires either ATLAS or LAPACK for dpotrf() Lapack routine 2007-04-25 14:13:51 +00:00
Laurent Saboret 2047e5862f Call ftime() (test_TAUCS.cpp) + changed comments 2007-04-25 13:51:03 +00:00
Laurent Saboret ee088df6d6 TAUCS requires dpotrf() Lapack routine (Cholesky factorization) 2007-04-24 13:28:07 +00:00
Daniel Russel 4624f4ca3b add DOLLAR_QTDIR dependency 2007-04-19 15:03:14 +00:00
Daniel Russel 6e6dc1d56d improved help messages. Removed documentation -os as it was broken. moved list of all external libraries to log 2007-04-19 02:43:30 +00:00
Sylvain Pion 50ad544472 Update GMP URL. 2007-04-18 20:36:38 +00:00
Laurent Rineau 0389b256f5 - add variables SUNCC_COMPILER and DARWIN_COMPILER in install_cgal
- add corresponding "REQUIRE/INCOMPATIBLE =" in several config/support files
2007-04-05 13:34:23 +00:00
Laurent Rineau 887dd2a4dd - S07-BOOST_BIMAP needs BOOST.
- Rename the files S06*, so that the package name is different. It is now  
  "MS_BOOST_PROGRAM_OPTIONS" for Boost.Program_options.

Remark: no need for a non-empty DESCRIPTION field, as
MS_BOOST_PROGRAM_OPTIONS requires DOLLAR_WINDOWS_COMPILER and
BOOST_PROGRAM_OPTIONS is incompatible with DOLLAR_WINDOWS_COMPILER.
2007-04-05 12:00:01 +00:00
Laurent Rineau 571f7b5114 Commit a BOOST_PROGRAM_OPTIONS config file for Windows: only
test_BOOST_PROGRAM_OPTIONS.cpp is tested. No INCLTHING and no LIBTHING.
2007-04-05 08:06:52 +00:00
Laurent Rineau a439fa27b5 BOOST_BIMAP has no current version, as it is not yet released. 2007-03-22 14:57:55 +00:00
Laurent Rineau ae81a9ff42 Again a major speed-up of parse_support_options(): use only one awk to do the
whole job.

Tested on Linux and Solaris.
2007-03-20 19:54:56 +00:00
Joachim Reichel ed08a8cfb1 output version string 2007-03-20 19:14:02 +00:00
Joachim Reichel f038ffdd56 drop support for external CORE 2007-03-20 19:09:33 +00:00
Laurent Rineau 7cf9fa0a94 add support config files for Boost.Bimap (to be accepted in Boost).
<CGAL/Double_map.h> is faster if Boost.Bimap is used.
2007-03-15 12:12:13 +00:00
Laurent Rineau e5b5a7d612 Fix support of the "blas-devel" RPM on Fedora.
(with Laurent Saboret).
2007-03-14 14:42:53 +00:00
Laurent Saboret 64b45edea0 Added support of AMD Core Math Library 2007-03-14 12:56:56 +00:00
Andreas Fabri a5826c0f15 fixed C interface for lapack 2007-03-14 10:39:01 +00:00