Specifying Build Type in CMake
The Visual Studio project generated by CMake defaults to the Debug build type, as shown in the image below: Sometimes, you may want to specify the build type in CMake without having to manually adjust it every time you open the project. 1. General Settings 1.1 Specifying in CMakeLists.txt This can be achieved by setting … Read more