Files
OpenSceneGraph/examples/osgwidgetversion/osgwidgetversion.cpp
Robert Osfield c2b77aa08e From Jeremy Moles, import of the osgWidget NodeKit, sourced from the original http://osgwidget.googlecode.com/svn/trunk
Notes from Robert Osfield, I've merged osgWidget trunk, and added/changed CMakeLists.txt file to make it suitable for inclusion in the core OSG, and moved imagery/scripts/shaders out into OpenSceneGraph-Data
2008-07-15 17:21:25 +00:00

15 lines
339 B
C++

// -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008
// $Id: osgwidgetversion.cpp 2 2008-01-24 16:11:26Z cubicool $
#include <osg/Notify>
#include <osgWidget/Version>
int main(int argc, char** argv) {
osg::notify(osg::NOTICE)
<< osgWidgetGetLibraryName() << " "
<< osgWidgetGetVersion() << std::endl
;
return 0;
}