How to check if a CMake build directory build type is Debug or Release?
<p>I know the build type can be set using <code>-DCMAKE_BUILD_TYPE=Release</code> or <code>-DCMAKE_BUILD_TYPE=Debug</code> but is there a command line way to check/confirm which build type is being used by CMake?</p>