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

Revision 9949, 2.9 kB (checked in by robert, 5 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
2# FIXME: For OS X, need flag for Framework or dylib
3IF(DYNAMIC_OPENSCENEGRAPH)
4    ADD_DEFINITIONS(-DOSGUTIL_LIBRARY)
5ELSE()
6    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
7ENDIF()
8
9SET(LIB_NAME osgUtil)
10SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
11SET(LIB_PUBLIC_HEADERS
12    ${HEADER_PATH}/ConvertVec
13    ${HEADER_PATH}/CubeMapGenerator
14    ${HEADER_PATH}/CullVisitor
15    ${HEADER_PATH}/DelaunayTriangulator
16    ${HEADER_PATH}/DisplayRequirementsVisitor
17    ${HEADER_PATH}/DrawElementTypeSimplifier
18    ${HEADER_PATH}/EdgeCollector
19    ${HEADER_PATH}/Export
20    ${HEADER_PATH}/GLObjectsVisitor
21    ${HEADER_PATH}/HalfWayMapGenerator
22    ${HEADER_PATH}/HighlightMapGenerator
23    ${HEADER_PATH}/IntersectionVisitor
24    ${HEADER_PATH}/IntersectVisitor
25    ${HEADER_PATH}/IncrementalCompileOperation
26    ${HEADER_PATH}/LineSegmentIntersector
27    ${HEADER_PATH}/OperationArrayFunctor
28    ${HEADER_PATH}/Optimizer
29    ${HEADER_PATH}/PlaneIntersector
30    ${HEADER_PATH}/PolytopeIntersector
31    ${HEADER_PATH}/PositionalStateContainer
32    ${HEADER_PATH}/PrintVisitor
33    ${HEADER_PATH}/ReflectionMapGenerator
34    ${HEADER_PATH}/RenderBin
35    ${HEADER_PATH}/RenderLeaf
36    ${HEADER_PATH}/RenderStage
37    ${HEADER_PATH}/ReversePrimitiveFunctor
38    ${HEADER_PATH}/SceneView
39    ${HEADER_PATH}/SceneGraphBuilder
40    ${HEADER_PATH}/ShaderGen
41    ${HEADER_PATH}/Simplifier
42    ${HEADER_PATH}/SmoothingVisitor
43    ${HEADER_PATH}/StateGraph
44    ${HEADER_PATH}/Statistics
45    ${HEADER_PATH}/TangentSpaceGenerator
46    ${HEADER_PATH}/Tessellator
47    ${HEADER_PATH}/TransformAttributeFunctor
48    ${HEADER_PATH}/TransformCallback
49    ${HEADER_PATH}/TriStripVisitor
50    ${HEADER_PATH}/UpdateVisitor
51    ${HEADER_PATH}/Version
52)
53
54ADD_LIBRARY(${LIB_NAME}
55    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
56    ${LIB_PUBLIC_HEADERS}
57    CubeMapGenerator.cpp
58    CullVisitor.cpp
59    DelaunayTriangulator.cpp
60    DisplayRequirementsVisitor.cpp
61    DrawElementTypeSimplifier.cpp
62    EdgeCollector.cpp
63    GLObjectsVisitor.cpp
64    HalfWayMapGenerator.cpp
65    HighlightMapGenerator.cpp
66    IntersectionVisitor.cpp
67    IntersectVisitor.cpp
68    IncrementalCompileOperation.cpp
69    LineSegmentIntersector.cpp
70    Optimizer.cpp
71    PlaneIntersector.cpp
72    PolytopeIntersector.cpp
73    PositionalStateContainer.cpp
74    PrintVisitor.cpp
75    RenderBin.cpp
76    RenderLeaf.cpp
77    RenderStage.cpp
78    ReversePrimitiveFunctor.cpp
79    SceneView.cpp
80    ShaderGen.cpp
81    Simplifier.cpp
82    SmoothingVisitor.cpp
83    SceneGraphBuilder.cpp
84    StateGraph.cpp
85    Statistics.cpp
86    TangentSpaceGenerator.cpp
87    Tessellator.cpp
88    TransformAttributeFunctor.cpp
89    TransformCallback.cpp
90    TriStrip_graph_array.h
91    TriStrip_heap_array.h
92    TriStrip_tri_stripper.cpp
93    TriStrip_tri_stripper.h
94    TriStripVisitor.cpp
95    UpdateVisitor.cpp
96    Version.cpp
97    ${OPENSCENEGRAPH_VERSIONINFO_RC}
98)
99
100LINK_INTERNAL(${LIB_NAME}     
101    osg
102    OpenThreads
103)
104LINK_CORELIB_DEFAULT(${LIB_NAME})
105
106INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.