Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buildtypes: Set default for cmake build type
cmake, by default, uses CMAKE_BULD_TYPE=Debug with implies '-O0'. This has a severe performance impact for most software. Let bee use CMAKE_BULD_TYPE=RelWithDebInfo by default, which implies '-O2'. For most software, the difference between '-O2' and '-O3' is neglectable. Bee packages with special performance considerations, for example zlib, might use -DCMAKE_BUILD_TYPE=Release in their bee file to force '-O3'.
- Loading branch information