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

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

From Farshid Lashkari, "I had to make a few small changes to some cmake files to enable the OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS option for Visual Studio 2008."

  • 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        osgPresentation
15        osgShadow
16        osgSim
17        osgTerrain
18        osgWidget
19        osgVolume
20        osgPlugins
21    )
22
23        ADD_SUBDIRECTORY(${mylibfolder})
24
25ENDFOREACH()
26
27
28OPTION(BUILD_OSG_WRAPPERS "Enable to build Introspection and Wrappers" OFF)
29IF(BUILD_OSG_WRAPPERS)
30    ADD_SUBDIRECTORY(osgIntrospection)
31    ADD_SUBDIRECTORY(osgWrappers)
32ENDIF()
33
34IF(MSVC80 OR MSVC90)
35  OPTION(OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS "Generate or not manifests files under VS8 for dynamically loaded dlls" ON)
36ENDIF()
37
Note: See TracBrowser for help on using the browser.