Commit Graph

244 Commits

Author SHA1 Message Date
Sylvain Pion aaf3c4666a 3 more C++0x features detection :
- CGAL_CFG_NO_CPP0X_AUTO
- CGAL_CFG_NO_CPP0X_INITIALIZER_LISTS
- CGAL_CFG_NO_CPP0X_LAMBDAS
2010-01-18 17:52:28 +00:00
Sylvain Pion 82ea7077bf Add #error. 2009-11-16 16:44:37 +00:00
Sylvain Pion 19a5490ea4 Kill a warning of gcc in -pedantic mode. 2009-11-13 12:20:21 +00:00
Laurent Rineau 5d63686b5a Add a test file that tests if the compiler supports the C++ keywords "and", "or", "not", and "not_eq". 2009-10-16 09:15:46 +00:00
Sylvain Pion c15fe06491 New test file for a bug in array data member initilization. 2009-08-14 11:39:14 +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 a83bed9d19 Refine GCC version check so that it applies to trunk (4.5) and later.
Remove some useless comments.
2009-05-05 14:27:57 +00:00
Sylvain Pion 3242c7af61 remove obsolete comments. 2009-04-29 20:03:21 +00:00
Sylvain Pion 3d85f90181 Add test programs for C++0x and TR1 tuple<>. 2009-04-29 19:57:50 +00:00
Sylvain Pion a5380a1f20 Remove install_cgal and accompanying files. 2009-04-26 13:28:41 +00:00
Sylvain Pion 9601658698 New config testfile to check for some C++0x feature.
gcc supports it at least in C++0x mode.
2008-12-09 14:56:51 +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
Sylvain Pion e33fbfb3d8 Remove duplicate of CGAL_CFG_FPU_ROUNDING_MODE_UNWINDING_VC_BUG. 2008-10-29 09:52:55 +00:00
Andreas Fabri f4d57e5928 A better name (sugested by Sylvain) 2008-10-16 07:19:44 +00:00
Andreas Fabri a6fd345892 simplified the test, as we know that only VC++ has a problem 2008-10-16 07:18:49 +00:00
Andreas Fabri ebd518cb7a Welcome on board VC++8-64bit 2008-10-15 14:33:57 +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
Sylvain Pion 419f46f919 Remove CGAL_CFG_COMMA_BUG and its workaronds, as we don't support g++ 3.3 anymore. 2008-09-08 09:33:02 +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 a89be80276 Detect C++0x's std::array and TR1's std::tr1::array.
(they are faster than boost::array for gcc)
2008-08-26 12:10:24 +00:00
Sylvain Pion a713dc281b Rename CGAL_CFG_NO_DEFAULT_TEMPLATE_ARGUMENTS_FOR_FUNCTION_TEMPLATES to
CGAL_CFG_NO_CPP0X_DEFAULT_TEMPLATE_ARGUMENTS_FOR_FUNCTION_TEMPLATES,
as this is a test for a C++0x feature.
2008-08-19 09:14:29 +00:00
Sylvain Pion fcf5396b91 Systematically #undef NDEBUG before #include <cassert>, so that the tests
pass/fail correctly even when -DNDEBUG is passed to the "build" options.
2008-08-19 08:22:17 +00:00
Sylvain Pion 2f230bd0f8 Add an #error specific to GCC 4.4 because it should fail to compile without
-std=c++0x, otherwise we get lots of warnings.
2008-08-19 08:20:28 +00:00
Sylvain Pion 82d1bbc800 New file to test for statement expressions. 2008-08-12 10:51:12 +00:00
Sylvain Pion 02ba7af44a New config macro for detecting std::isfinite() (C++0x). 2008-08-11 12:49:24 +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
Fernando Cacciola 6e36eda87b CMake stuff moved into the appropriate packages 2008-07-16 20:56:17 +00:00
Michael Kerber 95054e0899 Filenames consistent 2008-06-18 09:20:44 +00:00
Sylvain Pion 110a5db8be Rename all C++0x related config macros to consistently have CPP0X in their name,
as in CGAL_CFG_NO_CPP0X_VARIADIC_TEMPLATES.
2008-05-21 15:34:36 +00:00
Michael Kerber 1b12f5a607 Included option for LEDA 6.0 2008-02-28 16:33:51 +00:00
Sylvain Pion 22b53f4662 New test program for another C++ goody. 2008-01-22 00:02:44 +00:00
Sylvain Pion bc393f728e Enhance it to verify it properly finds const refs.
(read : the death of Qualified_result_of is announced)
2008-01-20 23:20:56 +00:00
Sylvain Pion e4fb8a97a4 New program for testing decltype() (a C++0x feature). 2008-01-20 23:00: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 e57dbbee28 Fix which compiler is the culprit. 2008-01-03 12:12:18 +00:00
Sylvain Pion 6ab6b8341a Relax the test. 2008-01-03 12:11:01 +00:00
Sylvain Pion 73a75d109f SunPRO's RW STL is not supported anymore.
For now, move the corresponding config bits out of the main config files.
2008-01-02 17:49:08 +00:00
Sylvain Pion 8f14630522 Update comment since long long is part of C++0x. 2008-01-02 16:45:36 +00:00
Sylvain Pion accdf57415 CGAL_CFG_NO_LONG_DOUBLE_IO is not needed anymore (pgCC is fixed). 2008-01-02 16:35:13 +00:00
Sylvain Pion f90f3b6627 CGAL_CFG_LONG_LONG_IO_BUG is not needed anymore (pgCC is fixed). 2008-01-02 16:28:17 +00:00
Sylvain Pion e8f7d3a4aa Enhance test program to still fail with recent pgCC versions,
as the bug is still there, even if the test program now passes.
2008-01-02 15:43:01 +00:00
Sylvain Pion 9c7673b6f3 Make sure to undef NDEBUG before #including <cassert>, as we need
assert() to work here, but we like to have a platform where NDEBUG
is passed as CXXFLAGS.
2007-12-27 16:34:36 +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 b976aea1b6 Remove 2 workarounds which are not needed anymore by the latest SunPRO:
CGAL_CFG_DEEP_DEPENDENT_TEMPLATE_BUG
CGAL_CFG_DEDUCABLE_CONTEXT_BUG
2007-08-24 12:57:55 +00:00
Sylvain Pion a3def1c3eb Remove obsolete config flag CGAL_CFG_USING_BASE_MEMBER_BUG. 2007-08-09 09:55:09 +00:00
Sylvain Pion 76408cc24f Remove obsolete config flag CGAL_CFG_USING_BASE_MEMBER_BUG_3. 2007-08-09 09:48:44 +00:00
Sylvain Pion 5c2eb484dd Remove obsolete and unused config flag CGAL_CFG_NO_TMPL_IN_TMPL_DEPENDING_FUNCTION_PARAM. 2007-08-09 09:35:07 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Sylvain Pion d76beea6ad Remove obsolete config flag CGAL_CFG_NO_LOCALE. 2007-08-08 15:30:58 +00:00
Sylvain Pion a90de08bf3 Remove obsolete config flag CGAL_CFG_MATCHING_BUG_4 and its dependency CGAL_WRAP. 2007-08-08 15:15:20 +00:00
Sylvain Pion 4f24f131d7 Remove obsolete CGAL_CFG_CONVERSION_OPERATOR_BUG config flag. 2007-08-08 14:59:33 +00:00
Sylvain Pion f2a1b260a4 Remove obsolete config flags
CGAL_CFG_OUTOFLINE_TEMPLATE_MEMBER_DEFINITION_BUG and
CGAL_CFG_OUTOFLINE_TEMPLATE_MEMBER_DEFINITION_BUG_2.
2007-08-08 14:50:01 +00:00
Sylvain Pion 47af1406a2 Remove CGAL_CFG_CCTYPE_MACRO_BUG, it's not needed anymore. 2007-08-08 14:20:50 +00:00
Marc Glisse 7bf4e81a19 Update this test to detect a newer variant of a bug on the same code in
cgal.
2007-06-17 16:21:35 +00:00
Sylvain Pion 17df0ce207 I finally do not need it: g++ can spot the optimization by itself. 2007-06-08 22:37:23 +00:00
Sylvain Pion 7d543ae42a New test program for C++0x's <type_traits>. 2007-06-08 18:48:27 +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
Sylvain Pion 85162d8a0c Added 3 config flags for some C++0x features. 2007-05-09 06:26:45 +00:00
Sylvain Pion 4606a1bdf1 Remove unused CGAL_CFG_NO_KOENIG_LOOKUP. 2007-05-07 18:12:21 +00:00
Sylvain Pion a866172e6f Unused. 2007-05-07 17:55: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
Marc Glisse 9b91a1b3c4 Checking whether this helps with sunpro (I only know it does in one
place). Can be reversed tomorrow if the testsuite shows it does not.
2007-04-10 14:16:07 +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
Sylvain Pion 4259de359c New testfile for a SunPro bug. 2007-03-30 09:32:14 +00:00
Sylvain Pion 95fe880186 CGAL_CFG_MATCHING_BUG_3 is not useful anymore
(SunCC has this fixed now, and the others as well).
2007-03-30 08:49:32 +00:00
Sylvain Pion 7dea18af66 Formatting cleanups. 2007-03-30 08:39:31 +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
Andreas Fabri b233a0cbce no longer needed as we use boost::mpl for anding bool constants 2007-03-19 12:26:33 +00:00
Sylvain Pion 53a5d8d388 .C -> guess what... 2007-03-18 12:55:21 +00:00
Sylvain Pion e3157ef9ac CGAL_CFG_LONG_LONG_IO_BUG : new bug in pgCC (reading long longs from a stream is buggy). 2007-03-18 12:52:50 +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
Joachim Reichel 4f47903a25 moved src/Core to src/CGALCore
moved include/CORE to include/CGAL/CORE
moved include/OpenNL to include/CGAL/OpenNL
renamed libcore++ to libCGALcore++
2007-03-13 18:10:39 +00:00
Sylvain Pion e4ea39527e Add something to test that we link against the correct libgmpxx. 2007-03-10 11:06:41 +00:00