root/OpenSceneGraph/trunk/src/CMakeLists.txt @ 9213

Revision 9213, 0.8 kB (checked in by robert, 5 years ago)

Removed the optional build for osgWidget and plugins as these are options that are appropriate for building all the time

  • Property svn:eol-style set to native
Line 
1#the old construct SUBDIRS( was substituded by ADD_SUBDIRECTORY that is to be preferred according on CMake docs.
2FOREACH( mylibfolder
3        OpenThreads
4        osg
5        osgDB
6        osgUtil
7        osgGA
8        osgText
9        osgViewer
10        osgAnimation
11        osgFX
12        osgManipulator
13        osgParticle
14        osgShadow
15        osgSim
16        osgTerrain
17        osgWidget
18        osgVolume
19        osgPlugins
20    )
21
22    ADD_SUBDIRECTORY(${mylibfolder})
23
24ENDFOREACH( mylibfolder )
25
26
27OPTION(BUILD_OSG_WRAPPERS "Enable to build Introspection and Wrappers" OFF)
28IF   (BUILD_OSG_WRAPPERS)
29    ADD_SUBDIRECTORY(osgIntrospection)
30    ADD_SUBDIRECTORY(osgWrappers)
31ENDIF(BUILD_OSG_WRAPPERS)
32
33IF(MSVC80)
34  OPTION(OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS "Generate or not manifests files under VS8 for dynamically loaded dlls" ON)
35ENDIF(MSVC80)
36
Note: See TracBrowser for help on using the browser.