Deal with license check

This commit is contained in:
Andreas Fabri 2023-11-14 12:36:59 +00:00
parent 4f1649e9b7
commit a70f01ff3d
9 changed files with 22 additions and 22 deletions

View File

@ -11,44 +11,44 @@
// //
// Warning: this file is generated, see include/CGAL/license/README.md // Warning: this file is generated, see include/CGAL/license/README.md
#ifndef CGAL_LICENSE_KINETIC_SHAPE_PARTITION_3_H #ifndef CGAL_LICENSE_KINETIC_SHAPE_PARTITION_H
#define CGAL_LICENSE_KINETIC_SHAPE_PARTITION_3_H #define CGAL_LICENSE_KINETIC_SHAPE_PARTITION_H
#include <CGAL/config.h> #include <CGAL/config.h>
#include <CGAL/license.h> #include <CGAL/license.h>
#ifdef CGAL_KINETIC_SHAPE_PARTITION_3_COMMERCIAL_LICENSE #ifdef CGAL_KINETIC_SHAPE_PARTITION_COMMERCIAL_LICENSE
# if CGAL_KINETIC_SHAPE_PARTITION_3_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE # if CGAL_KINETIC_SHAPE_PARTITION_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
# if defined(CGAL_LICENSE_WARNING) # if defined(CGAL_LICENSE_WARNING)
CGAL_pragma_warning("Your commercial license for CGAL does not cover " CGAL_pragma_warning("Your commercial license for CGAL does not cover "
"this release of the 3D Kinetic Shape Partition package.") "this release of the Kinetic Shape Partition package.")
# endif # endif
# ifdef CGAL_LICENSE_ERROR # ifdef CGAL_LICENSE_ERROR
# error "Your commercial license for CGAL does not cover this release \ # error "Your commercial license for CGAL does not cover this release \
of the 3D Kinetic Shape Partition package. \ of the Kinetic Shape Partition package. \
You get this error, as you defined CGAL_LICENSE_ERROR." You get this error, as you defined CGAL_LICENSE_ERROR."
# endif // CGAL_LICENSE_ERROR # endif // CGAL_LICENSE_ERROR
# endif // CGAL_KINETIC_SHAPE_PARTITION_3_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE # endif // CGAL_KINETIC_SHAPE_PARTITION_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
#else // no CGAL_KINETIC_SHAPE_PARTITION_3_COMMERCIAL_LICENSE #else // no CGAL_KINETIC_SHAPE_PARTITION_COMMERCIAL_LICENSE
# if defined(CGAL_LICENSE_WARNING) # if defined(CGAL_LICENSE_WARNING)
CGAL_pragma_warning("\nThe macro CGAL_KINETIC_SHAPE_PARTITION_3_COMMERCIAL_LICENSE is not defined." CGAL_pragma_warning("\nThe macro CGAL_KINETIC_SHAPE_PARTITION_COMMERCIAL_LICENSE is not defined."
"\nYou use the CGAL 3D Kinetic Shape Partition package under " "\nYou use the CGAL Kinetic Shape Partition package under "
"the terms of the GPLv3+.") "the terms of the GPLv3+.")
# endif // CGAL_LICENSE_WARNING # endif // CGAL_LICENSE_WARNING
# ifdef CGAL_LICENSE_ERROR # ifdef CGAL_LICENSE_ERROR
# error "The macro CGAL_KINETIC_SHAPE_PARTITION_3_COMMERCIAL_LICENSE is not defined.\ # error "The macro CGAL_KINETIC_SHAPE_PARTITION_COMMERCIAL_LICENSE is not defined.\
You use the CGAL 3D Kinetic Shape Partition package under the terms of \ You use the CGAL Kinetic Shape Partition package under the terms of \
the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR." the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR."
# endif // CGAL_LICENSE_ERROR # endif // CGAL_LICENSE_ERROR
#endif // no CGAL_KINETIC_SHAPE_PARTITION_3_COMMERCIAL_LICENSE #endif // no CGAL_KINETIC_SHAPE_PARTITION_COMMERCIAL_LICENSE
#endif // CGAL_LICENSE_KINETIC_SHAPE_PARTITION_3_H #endif // CGAL_LICENSE_KINETIC_SHAPE_PARTITION_H

View File

@ -13,7 +13,7 @@
#ifndef CGAL_KSR_DEBUG_H #ifndef CGAL_KSR_DEBUG_H
#define CGAL_KSR_DEBUG_H #define CGAL_KSR_DEBUG_H
// #include <CGAL/license/Kinetic_shape_reconstruction.h> #include <CGAL/license/Kinetic_shape_partition.h>
#if defined(WIN32) || defined(_WIN32) #if defined(WIN32) || defined(_WIN32)
#define _NL_ "\r\n" #define _NL_ "\r\n"

View File

@ -13,7 +13,7 @@
#ifndef CGAL_KSR_ENUM_H #ifndef CGAL_KSR_ENUM_H
#define CGAL_KSR_ENUM_H #define CGAL_KSR_ENUM_H
// #include <CGAL/license/Kinetic_shape_reconstruction.h> #include <CGAL/license/Kinetic_shape_partition.h>
namespace CGAL { namespace CGAL {
namespace KSR { namespace KSR {

View File

@ -13,7 +13,7 @@
#ifndef CGAL_KSR_PARAMETERS_H #ifndef CGAL_KSR_PARAMETERS_H
#define CGAL_KSR_PARAMETERS_H #define CGAL_KSR_PARAMETERS_H
// #include <CGAL/license/Kinetic_shape_reconstruction.h> #include <CGAL/license/Kinetic_shape_partition.h>
namespace CGAL { namespace CGAL {
namespace KSR { namespace KSR {

View File

@ -13,7 +13,7 @@
#ifndef CGAL_KSR_PROPERTY_MAP_H #ifndef CGAL_KSR_PROPERTY_MAP_H
#define CGAL_KSR_PROPERTY_MAP_H #define CGAL_KSR_PROPERTY_MAP_H
// #include <CGAL/license/Kinetic_shape_reconstruction.h> #include <CGAL/license/Kinetic_shape_partition.h>
// STL includes. // STL includes.
#include <string> #include <string>

View File

@ -13,7 +13,7 @@
#ifndef CGAL_KSR_UTILS_H #ifndef CGAL_KSR_UTILS_H
#define CGAL_KSR_UTILS_H #define CGAL_KSR_UTILS_H
// #include <CGAL/license/Kinetic_shape_reconstruction.h> #include <CGAL/license/Kinetic_shape_partition.h>
// STL includes. // STL includes.
#include <set> #include <set>

View File

@ -13,7 +13,7 @@
#ifndef CGAL_KINETIC_SHAPE_PARTITION_3_H #ifndef CGAL_KINETIC_SHAPE_PARTITION_3_H
#define CGAL_KINETIC_SHAPE_PARTITION_3_H #define CGAL_KINETIC_SHAPE_PARTITION_3_H
#include <CGAL/license/Kinetic_shape_partition_3.h> #include <CGAL/license/Kinetic_shape_partition.h>
// Boost includes. // Boost includes.
#include <CGAL/boost/graph/named_params_helper.h> #include <CGAL/boost/graph/named_params_helper.h>

View File

@ -13,7 +13,7 @@
#ifndef CGAL_KINETIC_SHAPE_RECONSTRUCTION_2_H #ifndef CGAL_KINETIC_SHAPE_RECONSTRUCTION_2_H
#define CGAL_KINETIC_SHAPE_RECONSTRUCTION_2_H #define CGAL_KINETIC_SHAPE_RECONSTRUCTION_2_H
//#include <CGAL/license/Kinetic_shape_reconstruction.h> #include <CGAL/license/Kinetic_shape_partition.h>
#include <CGAL/box_intersection_d.h> #include <CGAL/box_intersection_d.h>

View File

@ -13,7 +13,7 @@
#ifndef CGAL_KINETIC_SHAPE_RECONSTRUCTION_3_H #ifndef CGAL_KINETIC_SHAPE_RECONSTRUCTION_3_H
#define CGAL_KINETIC_SHAPE_RECONSTRUCTION_3_H #define CGAL_KINETIC_SHAPE_RECONSTRUCTION_3_H
#include <CGAL/license/Kinetic_shape_partition_3.h> #include <CGAL/license/Kinetic_shape_partition.h>
#include <CGAL/Kinetic_shape_partition_3.h> #include <CGAL/Kinetic_shape_partition_3.h>
#include <CGAL/KSR_3/GraphCut.h> #include <CGAL/KSR_3/GraphCut.h>