mirror of https://github.com/CGAL/cgal
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. |
||
|---|---|---|
| .. | ||
| print_BOOST_version.cpp | ||
| print_GCC_version.cpp | ||
| print_GMP_version.cpp | ||
| print_IntelCompiler_version.cpp | ||
| print_LEDA_version.cpp | ||
| print_MPFI_version.cpp | ||
| print_MPFR_version.cpp | ||
| print_OPENGL_version.cpp | ||
| print_QT4_version.cpp | ||
| print_QT_version.cpp | ||
| print_TAUCS_version.cpp | ||
| print_ZLIB_version.cpp | ||
| test_ATLAS.cpp | ||
| test_BLAS.cpp | ||
| test_BOOST.cpp | ||
| test_BOOST_PROGRAM_OPTIONS.cpp | ||
| test_BOOST_THREAD.cpp | ||
| test_GMP.cpp | ||
| test_GMPXX.cpp | ||
| test_LAPACK.cpp | ||
| test_LEDA.cpp | ||
| test_LEDAWIN.cpp | ||
| test_LIDIA.cpp | ||
| test_MPFR.cpp | ||
| test_OPENGL.cpp | ||
| test_QT.cpp | ||
| test_TAUCS.cpp | ||
| test_X11.cpp | ||
| test_ZLIB.cpp | ||
| test_syntaxonly.cpp | ||