CGAL_DEV_MODE - MaelRL/cgal GitHub Wiki
Since CGAL-4.12, the behavior of CGAL CMake scripts have changed.
The CMake option CGAL_DEV_MODE currently has two effects:
-
the CMake variable
CMAKE_NO_SYSTEM_FROM_IMPORTEDis set toTRUE, so that the CGAL include paths are setup using-Iinstead of-isystem, so that internal warnings of the CGAL headers are not disabled, -
and the old behavior of our CMake scripts is used: the
CMAKE_BUILD_TYPEand compilation flags configured inCGAL_DIRare copied to the current CMake project.
The default variable of the CMake option is taken from the environment variable of the same name. Developers are advised to have:
CGAL_DEV_MODE=ON
export CGAL_DEV_MODEin their $HOME/.bash_profile or equivalent.