| 353 | } |
| 354 | |
| 355 | string GetBuildVersion(bool compact) { |
| 356 | stringstream ss; |
| 357 | ss << GetDaemonBuildVersion() |
| 358 | #ifdef NDEBUG |
| 359 | << " RELEASE" |
| 360 | #else |
| 361 | << " DEBUG" |
| 362 | #endif |
| 363 | << " (build " << GetDaemonBuildHash() |
| 364 | << ")"; |
| 365 | if (!compact) { |
| 366 | ss << endl << "Built on " << GetDaemonBuildTime(); |
| 367 | } |
| 368 | return ss.str(); |
| 369 | } |
| 370 | |
| 371 | string GetVersionString(bool compact) { |
| 372 | stringstream ss; |
no test coverage detected