mirror of https://github.com/CGAL/cgal
add #include<CGAL/config.h> before any directive CGAL_USE_*
This commit is contained in:
parent
0ebdccfa4e
commit
8ce2048aea
|
|
@ -19,6 +19,8 @@
|
|||
// Author(s) : Sebastien Loriot, Sylvain Pion
|
||||
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#ifdef CGAL_USE_IPE_7
|
||||
#include <CGAL/CGAL_Ipelet_base_v7.h>
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -17,9 +17,12 @@
|
|||
//
|
||||
// Author(s) : Laurent Rineau
|
||||
|
||||
|
||||
#ifndef CGAL_IMAGE_3_VTK_INTERFACE_H
|
||||
#define CGAL_IMAGE_3_VTK_INTERFACE_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#ifdef CGAL_USE_VTK
|
||||
#include <CGAL/Image_3.h>
|
||||
#include <vtkImageData.h>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
#ifndef CGAL_CIRCULAR_ARC_2_H
|
||||
#define CGAL_CIRCULAR_ARC_2_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
namespace CGAL {
|
||||
|
||||
template <class CircularKernel>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@
|
|||
#ifndef CGAL_KERNEL_TO_KERNEL_H
|
||||
#define CGAL_KERNEL_TO_KERNEL_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#ifdef CGAL_USE_LEDA
|
||||
#include <CGAL/LEDA_basic.h>
|
||||
#include <CGAL/leda_integer.h>
|
||||
|
|
|
|||
|
|
@ -21,9 +21,13 @@
|
|||
//
|
||||
// Author(s) : Matthias Baesken
|
||||
|
||||
|
||||
|
||||
#ifndef CGAL_LEDA_BASIC_H
|
||||
#define CGAL_LEDA_BASIC_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#ifdef CGAL_USE_LEDA
|
||||
// The following is needed for LEDA 4.4 due to min/max problems...
|
||||
# define LEDA_NO_MIN_MAX_TEMPL
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
#ifndef CGAL_NEF_2_GENINFO_H
|
||||
#define CGAL_NEF_2_GENINFO_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
#include <memory>
|
||||
|
||||
/*{\Moptions outfile=geninfo.man}*/
|
||||
|
|
|
|||
|
|
@ -16,9 +16,13 @@
|
|||
//
|
||||
// Author: Luis Peñaranda <luis.penaranda@loria.fr>
|
||||
|
||||
|
||||
|
||||
#ifndef CGAL_MPFI_COERCION_TRAITS_H
|
||||
#define CGAL_MPFI_COERCION_TRAITS_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#ifdef CGAL_USE_MPFI
|
||||
|
||||
#include <CGAL/number_type_basic.h>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
#ifndef CGAL_MPFR_COERCION_TRAITS_H
|
||||
#define CGAL_MPFR_COERCION_TRAITS_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#ifdef CGAL_USE_MPFR
|
||||
|
||||
#include <CGAL/number_type_basic.h>
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
#ifndef CGAL_NUMBER_TYPE_BASIC_H
|
||||
#define CGAL_NUMBER_TYPE_BASIC_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#define CGAL_PI 3.14159265358979323846
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
#ifndef CGAL_POLYNOMIAL_GCD_H
|
||||
#define CGAL_POLYNOMIAL_GCD_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#ifndef CGAL_USE_INTERNAL_MODULAR_GCD
|
||||
#define CGAL_USE_INTERNAL_MODULAR_GCD 1
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@
|
|||
#ifndef CGAL_STRAIGHT_SKELETON_DEBUG_H
|
||||
#define CGAL_STRAIGHT_SKELETON_DEBUG_H 1
|
||||
|
||||
#include <CGAL/config.h>
|
||||
|
||||
#ifdef CGAL_USE_CORE
|
||||
# include <CGAL/CORE_BigFloat.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -20,6 +20,9 @@
|
|||
#ifndef CGAL_VTK_SURFACE_MESHER_CONTOUR_FILTER_H
|
||||
#define CGAL_VTK_SURFACE_MESHER_CONTOUR_FILTER_H
|
||||
|
||||
|
||||
|
||||
#include <CGAL/config.h>
|
||||
#include <vtkPolyDataAlgorithm.h>
|
||||
|
||||
class vtkCGALSurfaceMesherContourFilter : public vtkPolyDataAlgorithm
|
||||
|
|
|
|||
Loading…
Reference in New Issue