cgal/Installation/config/support
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
..
print_BOOST_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_GCC_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_GMP_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_IntelCompiler_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_LEDA_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_MPFI_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_MPFR_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_OPENGL_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_QT4_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_QT_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_TAUCS_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
print_ZLIB_version.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_ATLAS.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_BLAS.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_BOOST.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_BOOST_PROGRAM_OPTIONS.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_BOOST_THREAD.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_GMP.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_GMPXX.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_LAPACK.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_LEDA.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_LEDAWIN.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_LIDIA.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_MPFR.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_OPENGL.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_QT.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_TAUCS.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_X11.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_ZLIB.cpp change LGPLv2 -> LGPLv3 2011-10-10 13:48:25 +00:00
test_syntaxonly.cpp Add an option to check the syntax of headers, individually. 2012-10-05 12:21:44 +00:00