I know the build type can be set using -DCMAKE_BUILD_TYPE=Release or -DCMAKE_BUILD_TYPE=Debug but is there a command line way to check/confirm whic
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_BUILD_TYPE=Debug
You can grep the value from the CMakeCache.txt file in the build dir. Just out of curiosity, what are you trying to do ?