mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Diagnostics
- Display debug/release build type in the diagnostics command.
This commit is contained in:
parent
744f0f55ac
commit
190b6fe635
3 changed files with 11 additions and 0 deletions
|
@ -96,6 +96,7 @@
|
||||||
- Regular expressions are now enabled by default.
|
- Regular expressions are now enabled by default.
|
||||||
- New verbosity token 'filter' shows the complete filter used by the last
|
- New verbosity token 'filter' shows the complete filter used by the last
|
||||||
command.
|
command.
|
||||||
|
- Display debug/release build type in the diagnostics command.
|
||||||
|
|
||||||
------ current release ---------------------------
|
------ current release ---------------------------
|
||||||
|
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
#define PACKAGE_VERSION "${PACKAGE_VERSION}"
|
#define PACKAGE_VERSION "${PACKAGE_VERSION}"
|
||||||
#define PACKAGE_STRING "${PACKAGE_STRING}"
|
#define PACKAGE_STRING "${PACKAGE_STRING}"
|
||||||
|
|
||||||
|
#define CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}"
|
||||||
|
|
||||||
/* Installation details */
|
/* Installation details */
|
||||||
#define TASK_RCDIR "${CMAKE_INSTALL_PREFIX}/${TASK_RCDIR}"
|
#define TASK_RCDIR "${CMAKE_INSTALL_PREFIX}/${TASK_RCDIR}"
|
||||||
|
|
||||||
|
|
|
@ -174,6 +174,14 @@ int CmdDiagnostics::execute (std::string& output)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
<< "n/a"
|
<< "n/a"
|
||||||
|
#endif
|
||||||
|
<< "\n";
|
||||||
|
|
||||||
|
out << " Build type: "
|
||||||
|
#ifdef CMAKE_BUILD_TYPE
|
||||||
|
<< CMAKE_BUILD_TYPE
|
||||||
|
#else
|
||||||
|
<< "-"
|
||||||
#endif
|
#endif
|
||||||
<< "\n\n";
|
<< "\n\n";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue