mirror of https://github.com/vitalif/openscad
Add path information to info output.
parent
e1db572688
commit
66b22b24a5
|
@ -6,6 +6,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "version_check.h"
|
#include "version_check.h"
|
||||||
|
#include "PlatformUtils.h"
|
||||||
#define STRINGIFY(x) #x
|
#define STRINGIFY(x) #x
|
||||||
#define TOSTRING(x) STRINGIFY(x)
|
#define TOSTRING(x) STRINGIFY(x)
|
||||||
|
|
||||||
|
@ -90,6 +91,12 @@ std::string LibraryInfo::info()
|
||||||
#endif
|
#endif
|
||||||
<< "\nMingW build: " << mingwstatus
|
<< "\nMingW build: " << mingwstatus
|
||||||
<< "\nGLib version: " << GLIB_MAJOR_VERSION << "." << GLIB_MINOR_VERSION << "." << GLIB_MICRO_VERSION
|
<< "\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 ? "<not set>" : env_path)
|
<< "\nOPENSCADPATH: " << (env_path == NULL ? "<not set>" : env_path)
|
||||||
<< "\nOpenSCAD library path:\n";
|
<< "\nOpenSCAD library path:\n";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue