Diagnostics

- Display debug/release build type in the diagnostics command.
This commit is contained in:
Paul Beckingham 2014-05-31 12:12:40 -04:00
parent 744f0f55ac
commit 190b6fe635
3 changed files with 11 additions and 0 deletions

View file

@ -174,6 +174,14 @@ int CmdDiagnostics::execute (std::string& output)
#endif
#else
<< "n/a"
#endif
<< "\n";
out << " Build type: "
#ifdef CMAKE_BUILD_TYPE
<< CMAKE_BUILD_TYPE
#else
<< "-"
#endif
<< "\n\n";