root/OpenSceneGraph/trunk/src/osg/CMakeLists.txt @ 7047

Revision 7047, 7.5 kB (checked in by robert, 7 years ago)

From Paul Martz, "Attached is src/osg/CMakeLists.txt. Adding TemplatePrimitiveFunctor? to the source code list for the project. This makes this header file show up in the VS IDE as part of this project, and therefore facilitates IDE searching of project-related files, as well as making other tasks easier."

  • 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(-DOSG_LIBRARY)
5ELSE (DYNAMIC_OPENSCENEGRAPH)
6    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
7ENDIF(DYNAMIC_OPENSCENEGRAPH)
8
9SET(LIB_NAME osg)
10
11SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
12SET(LIB_PUBLIC_HEADERS
13    ${HEADER_PATH}/AlphaFunc
14    ${HEADER_PATH}/AnimationPath
15    ${HEADER_PATH}/ApplicationUsage
16    ${HEADER_PATH}/ArgumentParser
17    ${HEADER_PATH}/Array
18    ${HEADER_PATH}/AutoTransform
19    ${HEADER_PATH}/Billboard
20    ${HEADER_PATH}/BlendColor
21    ${HEADER_PATH}/BlendEquation
22    ${HEADER_PATH}/BlendFunc
23    ${HEADER_PATH}/BoundingBox
24    ${HEADER_PATH}/BoundingSphere
25    ${HEADER_PATH}/BoundsChecking
26    ${HEADER_PATH}/BufferObject
27    ${HEADER_PATH}/Camera
28    ${HEADER_PATH}/CameraNode
29    ${HEADER_PATH}/CameraView
30    ${HEADER_PATH}/ClampColor
31    ${HEADER_PATH}/ClearNode
32    ${HEADER_PATH}/ClipNode
33    ${HEADER_PATH}/ClipPlane
34    ${HEADER_PATH}/ClusterCullingCallback
35    ${HEADER_PATH}/CollectOccludersVisitor
36    ${HEADER_PATH}/ColorMask
37    ${HEADER_PATH}/ColorMatrix
38    ${HEADER_PATH}/ComputeBoundsVisitor
39    ${HEADER_PATH}/ConvexPlanarOccluder
40    ${HEADER_PATH}/ConvexPlanarPolygon
41    ${HEADER_PATH}/CoordinateSystemNode
42    ${HEADER_PATH}/CopyOp
43    ${HEADER_PATH}/CullFace
44    ${HEADER_PATH}/CullSettings
45    ${HEADER_PATH}/CullStack
46    ${HEADER_PATH}/CullingSet
47    ${HEADER_PATH}/DeleteHandler
48    ${HEADER_PATH}/Depth
49    ${HEADER_PATH}/DisplaySettings
50    ${HEADER_PATH}/DrawPixels
51    ${HEADER_PATH}/Drawable
52    ${HEADER_PATH}/Endian
53    ${HEADER_PATH}/Export
54    ${HEADER_PATH}/Fog
55    ${HEADER_PATH}/FragmentProgram
56    ${HEADER_PATH}/FrameBufferObject
57    ${HEADER_PATH}/FrameStamp
58    ${HEADER_PATH}/FrontFace
59    ${HEADER_PATH}/GL
60    ${HEADER_PATH}/GL2Extensions
61    ${HEADER_PATH}/GLExtensions
62    ${HEADER_PATH}/GLU
63    ${HEADER_PATH}/Geode
64    ${HEADER_PATH}/Geometry
65    ${HEADER_PATH}/GraphicsContext
66    ${HEADER_PATH}/GraphicsThread
67    ${HEADER_PATH}/Group
68    ${HEADER_PATH}/Hint
69    ${HEADER_PATH}/Image
70    ${HEADER_PATH}/ImageStream
71    ${HEADER_PATH}/LOD
72    ${HEADER_PATH}/Light
73    ${HEADER_PATH}/LightModel
74    ${HEADER_PATH}/LightSource
75    ${HEADER_PATH}/LineSegment
76    ${HEADER_PATH}/LineStipple
77    ${HEADER_PATH}/LineWidth
78    ${HEADER_PATH}/LogicOp
79    ${HEADER_PATH}/Material
80    ${HEADER_PATH}/Math
81    ${HEADER_PATH}/Matrix
82    ${HEADER_PATH}/MatrixTransform
83    ${HEADER_PATH}/Matrixd
84    ${HEADER_PATH}/Matrixf
85    ${HEADER_PATH}/Multisample
86    ${HEADER_PATH}/Node
87    ${HEADER_PATH}/NodeCallback
88    ${HEADER_PATH}/NodeTrackerCallback
89    ${HEADER_PATH}/NodeVisitor
90    ${HEADER_PATH}/Notify
91    ${HEADER_PATH}/Object
92    ${HEADER_PATH}/OccluderNode
93    ${HEADER_PATH}/PagedLOD
94    ${HEADER_PATH}/Plane
95    ${HEADER_PATH}/Point
96    ${HEADER_PATH}/PointSprite
97    ${HEADER_PATH}/PolygonMode
98    ${HEADER_PATH}/PolygonOffset
99    ${HEADER_PATH}/PolygonStipple
100    ${HEADER_PATH}/Polytope
101    ${HEADER_PATH}/PositionAttitudeTransform
102    ${HEADER_PATH}/PrimitiveSet
103    ${HEADER_PATH}/Program
104    ${HEADER_PATH}/Projection
105    ${HEADER_PATH}/ProxyNode
106    ${HEADER_PATH}/Quat
107    ${HEADER_PATH}/Referenced
108    ${HEADER_PATH}/RenderInfo
109    ${HEADER_PATH}/Scissor
110    ${HEADER_PATH}/Sequence
111    ${HEADER_PATH}/ShadeModel
112    ${HEADER_PATH}/Shader
113    ${HEADER_PATH}/ShadowVolumeOccluder
114    ${HEADER_PATH}/Shape
115    ${HEADER_PATH}/ShapeDrawable
116    ${HEADER_PATH}/State
117    ${HEADER_PATH}/StateAttribute
118    ${HEADER_PATH}/StateSet
119    ${HEADER_PATH}/Stats
120    ${HEADER_PATH}/Stencil
121    ${HEADER_PATH}/StencilTwoSided
122    ${HEADER_PATH}/Switch
123    ${HEADER_PATH}/TemplatePrimitiveFunctor
124    ${HEADER_PATH}/TexEnv
125    ${HEADER_PATH}/TexEnvCombine
126    ${HEADER_PATH}/TexEnvFilter
127    ${HEADER_PATH}/TexGen
128    ${HEADER_PATH}/TexGenNode
129    ${HEADER_PATH}/TexMat
130    ${HEADER_PATH}/Texture
131    ${HEADER_PATH}/Texture1D
132    ${HEADER_PATH}/Texture2D
133    ${HEADER_PATH}/Texture3D
134    ${HEADER_PATH}/TextureCubeMap
135    ${HEADER_PATH}/TextureRectangle
136    ${HEADER_PATH}/Timer
137    ${HEADER_PATH}/Transform
138    ${HEADER_PATH}/TriangleFunctor
139    ${HEADER_PATH}/TriangleIndexFunctor
140    ${HEADER_PATH}/TransferFunction
141    ${HEADER_PATH}/Uniform
142    ${HEADER_PATH}/Vec2
143    ${HEADER_PATH}/Vec2b
144    ${HEADER_PATH}/Vec2d
145    ${HEADER_PATH}/Vec2f
146    ${HEADER_PATH}/Vec2s
147    ${HEADER_PATH}/Vec3
148    ${HEADER_PATH}/Vec3b
149    ${HEADER_PATH}/Vec3d
150    ${HEADER_PATH}/Vec3f
151    ${HEADER_PATH}/Vec3s
152    ${HEADER_PATH}/Vec4
153    ${HEADER_PATH}/Vec4b
154    ${HEADER_PATH}/Vec4d
155    ${HEADER_PATH}/Vec4f
156    ${HEADER_PATH}/Vec4s
157    ${HEADER_PATH}/Vec4ub
158    ${HEADER_PATH}/Version
159    ${HEADER_PATH}/VertexProgram
160    ${HEADER_PATH}/View
161    ${HEADER_PATH}/Viewport
162    ${HEADER_PATH}/buffered_value
163    ${HEADER_PATH}/fast_back_stack
164    ${HEADER_PATH}/io_utils
165    ${HEADER_PATH}/observer_ptr
166    ${HEADER_PATH}/ref_ptr
167)
168
169ADD_LIBRARY(${LIB_NAME}
170    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
171    ${LIB_PUBLIC_HEADERS}
172    AlphaFunc.cpp
173    AnimationPath.cpp
174    ApplicationUsage.cpp
175    ArgumentParser.cpp
176    Array.cpp
177    AutoTransform.cpp
178    Billboard.cpp
179    BlendColor.cpp
180    BlendEquation.cpp
181    BlendFunc.cpp
182    BoundingBox.cpp
183    BoundingSphere.cpp
184    BufferObject.cpp
185    Camera.cpp
186    CameraView.cpp
187    ClampColor.cpp
188    ClearNode.cpp
189    ClipNode.cpp
190    ClipPlane.cpp
191    ClusterCullingCallback.cpp
192    CollectOccludersVisitor.cpp
193    ColorMask.cpp
194    ColorMatrix.cpp
195    ComputeBoundsVisitor.cpp
196    ConvexPlanarOccluder.cpp
197    ConvexPlanarPolygon.cpp
198    CoordinateSystemNode.cpp
199    CopyOp.cpp
200    CullFace.cpp
201    CullSettings.cpp
202    CullStack.cpp
203    CullingSet.cpp
204    DeleteHandler.cpp
205    Depth.cpp
206    DisplaySettings.cpp
207    DrawPixels.cpp
208    Drawable.cpp
209    Fog.cpp
210    FragmentProgram.cpp
211    FrameBufferObject.cpp
212    FrameStamp.cpp
213    FrontFace.cpp
214    GLExtensions.cpp
215    Geode.cpp
216    Geometry.cpp
217    GraphicsContext.cpp
218    GraphicsThread.cpp
219    Group.cpp
220    Hint.cpp
221    Image.cpp
222    ImageStream.cpp
223    LOD.cpp
224    Light.cpp
225    LightModel.cpp
226    LightSource.cpp
227    LineSegment.cpp
228    LineStipple.cpp
229    LineWidth.cpp
230    LogicOp.cpp
231    Material.cpp
232    MatrixDecomposition.cpp
233    MatrixTransform.cpp
234    # We don't build this one
235    #    Matrix_implementation.cpp
236    Matrixd.cpp
237    Matrixf.cpp
238    Multisample.cpp
239    Node.cpp
240    NodeCallback.cpp
241    NodeTrackerCallback.cpp
242    NodeVisitor.cpp
243    Notify.cpp
244    Object.cpp
245    OccluderNode.cpp
246    PagedLOD.cpp
247    Point.cpp
248    PointSprite.cpp
249    PolygonMode.cpp
250    PolygonOffset.cpp
251    PolygonStipple.cpp
252    PositionAttitudeTransform.cpp
253    PrimitiveSet.cpp
254    Program.cpp
255    Projection.cpp
256    ProxyNode.cpp
257    Quat.cpp
258    Referenced.cpp
259    Scissor.cpp
260    Sequence.cpp
261    ShadeModel.cpp
262    Shader.cpp
263    ShadowVolumeOccluder.cpp
264    Shape.cpp
265    ShapeDrawable.cpp
266    State.cpp
267    StateAttribute.cpp
268    StateSet.cpp
269    Stats.cpp
270    Stencil.cpp
271    StencilTwoSided.cpp
272    Switch.cpp
273    TexEnv.cpp
274    TexEnvCombine.cpp
275    TexEnvFilter.cpp
276    TexGen.cpp
277    TexGenNode.cpp
278    TexMat.cpp
279    Texture.cpp
280    Texture1D.cpp
281    Texture2D.cpp
282    Texture3D.cpp
283    TextureCubeMap.cpp
284    TextureRectangle.cpp
285    TransferFunction.cpp
286    Timer.cpp
287    Transform.cpp
288    Uniform.cpp
289    Version.cpp
290    VertexProgram.cpp
291    View.cpp
292    Viewport.cpp
293    dxtctool.cpp
294    dxtctool.h
295)
296
297LINK_INTERNAL(${LIB_NAME}     
298    OpenThreads
299)
300LINK_EXTERNAL(${LIB_NAME} ${CMAKE_THREAD_LIBS_INIT}    ${MATH_LIBRARY} )
301LINK_CORELIB_DEFAULT(${LIB_NAME} ${CMAKE_THREAD_LIBS_INIT} ${MATH_LIBRARY} )
302
303INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.