projects
/
flightgear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2af076e
)
The OSG version is now printed with --version.
author
Edward d'Auvergne
<edward@nmr-relax.com>
Sat, 5 Dec 2015 14:24:47 +0000
(15:24 +0100)
committer
Edward d'Auvergne
<edward@nmr-relax.com>
Sat, 5 Dec 2015 14:24:47 +0000
(15:24 +0100)
This adds the OSG version number between the simgear and PLIB versions.
src/Main/options.cxx
patch
|
blob
|
history
diff --git
a/src/Main/options.cxx
b/src/Main/options.cxx
index e4f1b212a5ed5d87b1df86940c6fd407e827f8ba..c0a955379b7b70cf72af4a5a9edf43bfa0a47382 100644
(file)
--- a/
src/Main/options.cxx
+++ b/
src/Main/options.cxx
@@
-1328,6
+1328,7
@@
fgOptVersion( const char *arg )
}
cerr << endl;
cerr << "SimGear version: " << SG_STRINGIZE(SIMGEAR_VERSION) << endl;
+ cerr << "OSG version: " << osgGetVersion() << endl;
cerr << "PLIB version: " << PLIB_VERSION << endl;
return FG_OPTIONS_EXIT;
}