Expose SimGear and OSG versions via properties too.
This commit is contained in:
parent
1d8913b53e
commit
86b906e84e
1 changed files with 4 additions and 1 deletions
|
@ -56,7 +56,9 @@
|
|||
#include "util.hxx"
|
||||
#include "viewmgr.hxx"
|
||||
#include <Main/viewer.hxx>
|
||||
|
||||
#include <simgear/version.h>
|
||||
#include <osg/Version>
|
||||
|
||||
using std::string;
|
||||
using std::sort;
|
||||
|
@ -237,7 +239,8 @@ fgSetDefaults ()
|
|||
fgSetInt("/sim/multiplay/txport", 0);
|
||||
|
||||
fgSetString("/sim/version/flightgear", FLIGHTGEAR_VERSION);
|
||||
//fgSetString("/sim/version/simgear", FLIGHTGEAR_VERSION);
|
||||
fgSetString("/sim/version/simgear", SG_STRINGIZE(SIMGEAR_VERSION));
|
||||
fgSetString("/sim/version/openscenegraph", osgGetVersion());
|
||||
fgSetString("/sim/version/revision", REVISION);
|
||||
fgSetInt("/sim/version/build-number", HUDSON_BUILD_NUMBER);
|
||||
fgSetString("/sim/version/build-id", HUDSON_BUILD_ID);
|
||||
|
|
Loading…
Add table
Reference in a new issue