Changeset 8579
- Timestamp:
- 07/14/08 10:48:49
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
OpenSceneGraph/trunk/applications/osgconv/CMakeLists.txt
r7025 r8579 2 2 3 3 4 SET(TARGET_SRC OrientationConverter.cpp osgconv.cpp ) 5 SET(TARGET_H OrientationConverter.h ) 4 SET(TARGET_SRC 5 OrientationConverter.cpp 6 PluginQuery.cpp 7 osgconv.cpp 8 ) 9 SET(TARGET_H 10 OrientationConverter.h 11 PluginQuery.h 12 ) 13 6 14 #### end var setup ### 7 15 SETUP_APPLICATION(osgconv) OpenSceneGraph/trunk/applications/osgconv/osgconv.cpp
r8074 r8579 29 29 30 30 #include "OrientationConverter.h" 31 #include "PluginQuery.h" 31 32 32 33 typedef std::vector<std::string> FileNameList; … … 507 508 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display command line parameters"); 508 509 arguments.getApplicationUsage()->addCommandLineOption("--help-env","Display environmental variables available"); 510 arguments.getApplicationUsage()->addCommandLineOption("--fmts","List supported file formats"); 509 511 510 512 … … 523 525 } 524 526 527 if (arguments.read("--fmts")) 528 { 529 osgDB::FileNameList plugins = osgDB::listAllAvailablePlugins(); 530 for(osgDB::FileNameList::iterator itr = plugins.begin(); 531 itr != plugins.end(); 532 ++itr) 533 { 534 std::cout<<"Plugin "<<*itr<<std::endl; 535 } 536 return 1; 537 } 538 525 539 if (arguments.argc()<=1) 526 540 {
