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

Revision 9949, 0.8 kB (checked in by robert, 6 years ago)

From Philip Lowman, "Here's the promised cleanup of the OSG's CMakeLists.txt files for the src/ folder. I'll submit the others separately.

Also, there was also a small bug in osgDB's CMakeLists.txt that was causing an error when I tested with CMake 2.4.4.

IF(${OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX} STREQUAL "quicktime")
was changed to
IF(OSG_DEFAULT_IMAGE_PLUGIN_FOR_OSX STREQUAL "quicktime")
"

  • 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()
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()
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()
36
Note: See TracBrowser for help on using the browser.