55 lines
2.0 KiB
C
55 lines
2.0 KiB
C
|
// Copyright (c) 2016 GeometryFactory SARL (France).
|
||
|
// All rights reserved.
|
||
|
//
|
||
|
// This file is part of CGAL (www.cgal.org)
|
||
|
//
|
||
|
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Installation/include/CGAL/license/QP_solver.h $
|
||
|
// $Id: QP_solver.h 52164b1 2019-10-19T15:34:59+02:00 Sébastien Loriot
|
||
|
// SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
|
||
|
//
|
||
|
// Author(s) : Andreas Fabri
|
||
|
//
|
||
|
// Warning: this file is generated, see include/CGAL/licence/README.md
|
||
|
|
||
|
#ifndef CGAL_LICENSE_QP_SOLVER_H
|
||
|
#define CGAL_LICENSE_QP_SOLVER_H
|
||
|
|
||
|
#include <CGAL/config.h>
|
||
|
#include <CGAL/license.h>
|
||
|
|
||
|
#ifdef CGAL_QP_SOLVER_COMMERCIAL_LICENSE
|
||
|
|
||
|
# if CGAL_QP_SOLVER_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
|
||
|
|
||
|
# if defined(CGAL_LICENSE_WARNING)
|
||
|
|
||
|
CGAL_pragma_warning("Your commercial license for CGAL does not cover "
|
||
|
"this release of the Linear and Quadratic Programming Solver package.")
|
||
|
# endif
|
||
|
|
||
|
# ifdef CGAL_LICENSE_ERROR
|
||
|
# error "Your commercial license for CGAL does not cover this release \
|
||
|
of the Linear and Quadratic Programming Solver package. \
|
||
|
You get this error, as you defined CGAL_LICENSE_ERROR."
|
||
|
# endif // CGAL_LICENSE_ERROR
|
||
|
|
||
|
# endif // CGAL_QP_SOLVER_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
|
||
|
|
||
|
#else // no CGAL_QP_SOLVER_COMMERCIAL_LICENSE
|
||
|
|
||
|
# if defined(CGAL_LICENSE_WARNING)
|
||
|
CGAL_pragma_warning("\nThe macro CGAL_QP_SOLVER_COMMERCIAL_LICENSE is not defined."
|
||
|
"\nYou use the CGAL Linear and Quadratic Programming Solver package under "
|
||
|
"the terms of the GPLv3+.")
|
||
|
# endif // CGAL_LICENSE_WARNING
|
||
|
|
||
|
# ifdef CGAL_LICENSE_ERROR
|
||
|
# error "The macro CGAL_QP_SOLVER_COMMERCIAL_LICENSE is not defined.\
|
||
|
You use the CGAL Linear and Quadratic Programming Solver package under the terms of \
|
||
|
the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR."
|
||
|
# endif // CGAL_LICENSE_ERROR
|
||
|
|
||
|
#endif // no CGAL_QP_SOLVER_COMMERCIAL_LICENSE
|
||
|
|
||
|
#endif // CGAL_LICENSE_QP_SOLVER_H
|