cmake - What are CMAKE_BUILD_TYPE: Debug, Release ...
https://stackoverflow.com/questions/4875461912.02.2018 · IMPORTANT: CMAKE_BUILD_TYPE only makes sense for single-target generators, like Makefiles. It is not used for multi-target generators as those simply generate a build system capable of building all build types (debug, release, etc). CMAKE_BUILD_TYPE is about, Optimization (level) [ -O0, -O1, -O2, -O3, -Ofast, -Os, -Oz, -Og, -O, -O4]