`RUNNING_CGAL_AUTO_TEST` and `CGAL_DIR` are set on the command line by
our `cgal_test` scripts.
-> Add the option `--no-warn-unused-cli` to avoid warnings when the
variables are actually not used (for example if a dependency is not
satisfied).
- Document and implement the special treatment of 'Under testing ...'
- In case the label is unknown, print know labels.
- Fix the case when issues are not pull-requests.
That list of documented headers (contained in
`Installation/list_of_documented_headers.cmake`) is generated using a
shell script, with `ack`, by searching in the example .cpp files, and in
the Doxygen compiled documentation.
Save the current source directory to `CGAL_CURRENT_SOURCE_DIR`. The
variable value is modified by a `CMakeLists.txt` file when it is
generated by `cgal_create_cmake_script` in the binary tree. The script
`cgal_create_cmake_script` itself it called by CMake, by the function
`process_CGAL_subdirectory` (see its definition in
`Installation/cmake/modules/CGAL_Macros.cmake`), called in
`(examples|test|demo)/CMakeLists.txt`.
Eventually, that variable value is supposed to be the directory to the
current sources, even if the current `CMakeLists.txt` is within the
binary tree.
That is used in `CGAL_CreateSingleSourceCGALProgram.cmake` for the CTest
support, so set correctly the current working directory (in the
directory of the tests/examples).
Tar will hard-error with the message:
tar: ./include/**.h: Not found in archive
tar: Exiting with failure status due to previous errors
if the temppack.tar does not contain a match. We have to use a special
module to silence this match for several reasons.
- There is no way to ignore this error (even though it has been
requested on the GNU tar mailing list).
- We cannot redirect the output of tar to /dev/null easily. We have to
use the LIST form of system which does not allow for redirection.
Instead of writing directly to /tmp, create our own temporary directory
via File::Temp. There is no need for dedicated cleanup. The directory
will be removed as soon as the tempdir object goes out of scope.