|
Revision 9949, 0.8 kB
(checked in by robert, 4 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. |
|---|
| 2 | FOREACH( 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 | |
|---|
| 24 | ENDFOREACH() |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | OPTION(BUILD_OSG_WRAPPERS "Enable to build Introspection and Wrappers" OFF) |
|---|
| 28 | IF(BUILD_OSG_WRAPPERS) |
|---|
| 29 | ADD_SUBDIRECTORY(osgIntrospection) |
|---|
| 30 | ADD_SUBDIRECTORY(osgWrappers) |
|---|
| 31 | ENDIF() |
|---|
| 32 | |
|---|
| 33 | IF(MSVC80) |
|---|
| 34 | OPTION(OSG_MSVC_GENERATE_PLUGINS_AND_WRAPPERS_MANIFESTS "Generate or not manifests files under VS8 for dynamically loaded dlls" ON) |
|---|
| 35 | ENDIF() |
|---|
| 36 | |
|---|