There are parts of the diff that show that the script generate_files.cmake is actually wrong:
part 1:
index 854b366ba54..ebd2bf82ac4 100644
--- a/Installation/include/CGAL/license/Polygon_mesh_processing/locate.h
+++ b/Installation/include/CGAL/license/Polygon_mesh_processing/locate.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2019 GeometryFactory SARL (France).
+// Copyright (c) 2016 GeometryFactory SARL (France).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org)
part 2:
@@ -33,8 +29,8 @@
# ifdef CGAL_LICENSE_ERROR
# error "Your commercial license for CGAL does not cover this release \
-of the Polygonal Surface Reconstruction package. \
-You get this error, as you defined CGAL_LICENSE_ERROR."
+ of the Polygonal Surface Reconstruction package. \
+ You get this error, as you defined CGAL_LICENSE_ERROR."
# endif // CGAL_LICENSE_ERROR
# endif // CGAL_POLYGONAL_SURFACE_RECONSTRUCTION_COMMERCIAL_LICENSE < CGAL_RELEASE_DATE
The copyright year should not be hard-coded to 2016.
The "red" version is right, otherwise the error message triggered by #error contains spurious sequences of spaces.
Issue Details
In
Installation/include/CGAL/license/README.md
, one can read: https://github.com/CGAL/cgal/blob/94d45552bcace35592932e62c4196fbe79c2d4d0/Installation/include/CGAL/license/README.md?plain=1#L1-L3I tried that to create a new license header file for a new package (see #8186) and the result, starting from a clean workdir of
cgal/master
, was a big diff, see https://gist.github.com/lrineau/5271666984da974d23daabcee09e63a7There are parts of the diff that show that the script
generate_files.cmake
is actually wrong:part 1:
part 2:
2016
.#error
contains spurious sequences of spaces.