| 143 | |
| 144 | |
| 145 | std::string debugInformation() |
| 146 | { |
| 147 | Utils::screenWidth(); |
| 148 | std::string headline(Utils::screenWidth(), '-'); |
| 149 | |
| 150 | std::ostringstream os; |
| 151 | |
| 152 | os << headline << std::endl; |
| 153 | os << "PDAL debug information" << std::endl ; |
| 154 | os << headline << std::endl << std::endl; |
| 155 | |
| 156 | os << "Version information" << std::endl; |
| 157 | os << headline << std::endl; |
| 158 | os << "(" << fullVersionString() << ")" << std::endl; |
| 159 | os << std::endl; |
| 160 | |
| 161 | os << "Debug build status" << std::endl; |
| 162 | os << headline << std::endl; |
| 163 | os << PDAL_BUILD_TYPE << std::endl << std::endl; |
| 164 | |
| 165 | os << "Enabled libraries" << std::endl; |
| 166 | os << headline << std::endl << std::endl; |
| 167 | |
| 168 | os << "GDAL (" << GDALVersionInfo("RELEASE_NAME") << ") - " << |
| 169 | "http://www.gdal.org" << std::endl; |
| 170 | |
| 171 | #ifdef PDAL_HAVE_LIBXML2 |
| 172 | os << "libxml (" << LIBXML_DOTTED_VERSION << ") - " << |
| 173 | "http://www.xmlsoft.org/" << std::endl; |
| 174 | #endif |
| 175 | |
| 176 | return os.str(); |
| 177 | } |
| 178 | |
| 179 | std::string pluginInstallPath() |
| 180 | { |
nothing calls this directly
no test coverage detected