1 // Copyright (c) 2016  GeometryFactory SARL (France).
2 // All rights reserved.
3 //
4 // This file is part of CGAL (www.cgal.org)
5 //
6 // $URL: https://github.com/CGAL/cgal/blob/v5.3/Installation/include/CGAL/license/Three.h $
7 // $Id: Three.h 3edff7b 2021-06-17T10:49:45+02:00 Dmitry Anisimov
8 // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial
9 //
10 // Author(s) : Andreas Fabri
11 //
12 // Warning: this file is generated, see include/CGAL/licence/README.md
13 
14 #ifndef CGAL_LICENSE_THREE_H
15 #define CGAL_LICENSE_THREE_H
16 
17 #include <CGAL/config.h>
18 #include <CGAL/license.h>
19 
20 #ifdef CGAL_THREE_COMMERCIAL_LICENSE
21 
22 #  if CGAL_THREE_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
23 
24 #    if defined(CGAL_LICENSE_WARNING)
25 
26        CGAL_pragma_warning("Your commercial license for CGAL does not cover "
27                            "this release of the Three package.")
28 #    endif
29 
30 #    ifdef CGAL_LICENSE_ERROR
31 #      error "Your commercial license for CGAL does not cover this release \
32               of the Three package. \
33               You get this error, as you defined CGAL_LICENSE_ERROR."
34 #    endif // CGAL_LICENSE_ERROR
35 
36 #  endif // CGAL_THREE_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
37 
38 #else // no CGAL_THREE_COMMERCIAL_LICENSE
39 
40 #  if defined(CGAL_LICENSE_WARNING)
41      CGAL_pragma_warning("\nThe macro CGAL_THREE_COMMERCIAL_LICENSE is not defined."
42                           "\nYou use the CGAL Three package under "
43                           "the terms of the GPLv3+.")
44 #  endif // CGAL_LICENSE_WARNING
45 
46 #  ifdef CGAL_LICENSE_ERROR
47 #    error "The macro CGAL_THREE_COMMERCIAL_LICENSE is not defined.\
48             You use the CGAL Three package under the terms of \
49             the GPLv3+. You get this error, as you defined CGAL_LICENSE_ERROR."
50 #  endif // CGAL_LICENSE_ERROR
51 
52 #endif // no CGAL_THREE_COMMERCIAL_LICENSE
53 
54 #endif // CGAL_LICENSE_THREE_H
55