| 80 | // Generates program version information into supplied output. |
| 81 | |
| 82 | std::string VersionString() { |
| 83 | std::string version_str(flags_internal::ShortProgramInvocationName()); |
| 84 | |
| 85 | version_str += "\n"; |
| 86 | |
| 87 | #if !defined(NDEBUG) |
| 88 | version_str += "Debug build (NDEBUG not #defined)\n"; |
| 89 | #endif |
| 90 | |
| 91 | return version_str; |
| 92 | } |
| 93 | |
| 94 | // -------------------------------------------------------------------- |
| 95 | // Normalizes the filename specific to the build system/filesystem used. |
no test coverage detected