From 66b22b24a52801b4485b7b13eb12521ccc18e624 Mon Sep 17 00:00:00 2001 From: Torsten Paul Date: Sat, 15 Nov 2014 22:04:27 +0100 Subject: [PATCH] Add path information to info output. --- src/LibraryInfo.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/LibraryInfo.cc b/src/LibraryInfo.cc index b15cb7e4..f736cd22 100644 --- a/src/LibraryInfo.cc +++ b/src/LibraryInfo.cc @@ -6,6 +6,7 @@ #endif #include "version_check.h" +#include "PlatformUtils.h" #define STRINGIFY(x) #x #define TOSTRING(x) STRINGIFY(x) @@ -90,6 +91,12 @@ std::string LibraryInfo::info() #endif << "\nMingW build: " << mingwstatus << "\nGLib version: " << GLIB_MAJOR_VERSION << "." << GLIB_MINOR_VERSION << "." << GLIB_MICRO_VERSION + << "\nApplication Path: " << PlatformUtils::applicationPath() + << "\nDocuments Path: " << PlatformUtils::documentsPath() + << "\nResource Path: " << PlatformUtils::resourcesPath() + << "\nUser Library Path: " << PlatformUtils::userLibraryPath() + << "\nUser Config Path: " << PlatformUtils::userConfigPath() + << "\nBackup Path: " << PlatformUtils::backupPath() << "\nOPENSCADPATH: " << (env_path == NULL ? "" : env_path) << "\nOpenSCAD library path:\n";