Diagnostics
- Display debug/release build type in the diagnostics command.
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user