mirror of https://github.com/CGAL/cgal
CGAL_DEV_MODE: Release is now the default CMAKE_BUILD_TYPE
Even for a CGAL developer, Release is what we want, unless we really want to open a debugger.
This commit is contained in:
parent
66b4ec4214
commit
30df6e803a
|
|
@ -50,7 +50,7 @@ uniquely_add_flags( CMAKE_EXE_LINKER_FLAGS_DEBUG ${CGAL_EXE_LINKER_FLAGS_DE
|
|||
|
||||
# Set a default build type if none is given
|
||||
if ( NOT CMAKE_BUILD_TYPE )
|
||||
if( CGAL_DEV_MODE OR RUNNING_CGAL_AUTO_TEST )
|
||||
if( RUNNING_CGAL_AUTO_TEST )
|
||||
typed_cache_set ( STRING "Build type: Release, Debug, RelWithDebInfo or MinSizeRel" CMAKE_BUILD_TYPE Debug )
|
||||
else ()
|
||||
typed_cache_set ( STRING "Build type: Release, Debug, RelWithDebInfo or MinSizeRel" CMAKE_BUILD_TYPE Release )
|
||||
|
|
|
|||
Loading…
Reference in New Issue