Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set default build type to RelWithDebInfo (CMake)
This enforces -O2 -g options passed to the compiler (in case of the gcc or clang compiler), matching that of the configure-based build. * CMakeLists.txt [!CMAKE_BUILD_TYPE && !CMAKE_CONFIGURATION_TYPES] (CMAKE_BUILD_TYPE): Set to RelWithDebInfo; set property (listing all possible values). * CMakeLists.txt [enable_assertions]: Add -UNDEBUG compile option; add comment.
- Loading branch information