mirror of https://github.com/CGAL/cgal
Push the `#define CGAL_HEADER_ONLY` at the top
This commit is contained in:
parent
df49068ce4
commit
9c67734dcc
|
|
@ -30,6 +30,11 @@
|
||||||
#ifndef CGAL_CONFIG_H
|
#ifndef CGAL_CONFIG_H
|
||||||
#define CGAL_CONFIG_H
|
#define CGAL_CONFIG_H
|
||||||
|
|
||||||
|
// CGAL is header-only by default since CGAL-5.0.
|
||||||
|
#if !defined(CGAL_HEADER_ONLY) && ! CGAL_NOT_HEADER_ONLY
|
||||||
|
# define CGAL_HEADER_ONLY 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef CGAL_HEADER_ONLY
|
#ifdef CGAL_HEADER_ONLY
|
||||||
# define CGAL_NO_AUTOLINK 1
|
# define CGAL_NO_AUTOLINK 1
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -152,9 +157,6 @@
|
||||||
// platform specific workaround flags (CGAL_CFG_...)
|
// platform specific workaround flags (CGAL_CFG_...)
|
||||||
//----------------------------------------------------------------------//
|
//----------------------------------------------------------------------//
|
||||||
|
|
||||||
#if ! CGAL_NOT_HEADER_ONLY
|
|
||||||
# define CGAL_HEADER_ONLY 1
|
|
||||||
#endif
|
|
||||||
#if CGAL_HEADER_ONLY
|
#if CGAL_HEADER_ONLY
|
||||||
# include <CGAL/internal/enable_third_party_libraries.h>
|
# include <CGAL/internal/enable_third_party_libraries.h>
|
||||||
# if(BOOST_MSVC)
|
# if(BOOST_MSVC)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue