cgal/Packages/Optimisation_basic/include/CGAL/Optimisation/debug.h

46 lines
1.4 KiB
C

// ============================================================================
//
// Copyright (c) 1997-2001 The CGAL Consortium
//
// This software and related documentation is part of an INTERNAL release
// of the Computational Geometry Algorithms Library (CGAL). It is not
// intended for general use.
//
// ----------------------------------------------------------------------------
//
// release : $CGAL_Revision: CGAL-I $
// release_date : $CGAL_Date$
//
// file : include/CGAL/Optimisation/debug.h
// package : $CGAL_Package: Optimisation_basic $
// chapter : Geometric Optimisation
//
// source : web/Optimisation_basic.aw
// revision : $Revision$
// revision_date : $Date$
//
// author(s) : Sven Schönherr <sven@inf.ethz.ch>
// coordinator : ETH Zürich (Bernd Gärtner <gaertner@inf.ethz.ch>)
//
// implementation: debug macro for optimisation algorithms
// ============================================================================
#ifndef CGAL_OPTIMISATION_DEBUG_H
#define CGAL_OPTIMISATION_DEBUG_H
// macro definitions
// =================
// debug
// -----
#if ( defined( CGAL_OPTIMISATION_NO_DEBUG) \
|| defined( CGAL_NO_DEGUG) || defined( NDEBUG))
# define CGAL_optimisation_debug if ( 0)
#else
# define CGAL_optimisation_debug if ( 1)
#endif // optimisation debug
#endif // CGAL_OPTIMISATION_DEBUG_H
// ===== EOF ==================================================================