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

Revision 8211, 2.8 kB (checked in by robert, 6 years ago)

Reverted the changes for ill fated tweaks for Apple build

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