root/OpenSceneGraph/trunk/src/osgSim/CMakeLists.txt @ 9671

Revision 9671, 1.9 kB (checked in by robert, 6 years ago)

From Sherman Wilcox, added VS versioning information into libs

  • Property svn:eol-style set to native
Line 
1
2IF   (DYNAMIC_OPENSCENEGRAPH)
3    ADD_DEFINITIONS(-DOSGSIM_LIBRARY)
4ELSE (DYNAMIC_OPENSCENEGRAPH)
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF(DYNAMIC_OPENSCENEGRAPH)
7
8SET(LIB_NAME osgSim)
9SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
10SET(LIB_PUBLIC_HEADERS
11    ${HEADER_PATH}/BlinkSequence
12    ${HEADER_PATH}/ColorRange
13    ${HEADER_PATH}/DOFTransform
14    ${HEADER_PATH}/ElevationSlice
15    ${HEADER_PATH}/HeightAboveTerrain
16    ${HEADER_PATH}/Export
17    ${HEADER_PATH}/GeographicLocation
18    ${HEADER_PATH}/Impostor
19    ${HEADER_PATH}/ImpostorSprite
20    ${HEADER_PATH}/InsertImpostorsVisitor
21    ${HEADER_PATH}/LightPoint
22    ${HEADER_PATH}/LightPointNode
23    ${HEADER_PATH}/LightPointSystem
24    ${HEADER_PATH}/LineOfSight
25    ${HEADER_PATH}/MultiSwitch
26    ${HEADER_PATH}/OverlayNode
27    ${HEADER_PATH}/ObjectRecordData
28    ${HEADER_PATH}/ScalarBar
29    ${HEADER_PATH}/ScalarsToColors
30    ${HEADER_PATH}/Sector
31    ${HEADER_PATH}/ShapeAttribute
32    ${HEADER_PATH}/SphereSegment
33    ${HEADER_PATH}/Version
34    ${HEADER_PATH}/VisibilityGroup
35)
36
37# FIXME: For OS X, need flag for Framework or dylib
38ADD_LIBRARY(${LIB_NAME}
39    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
40    ${LIB_PUBLIC_HEADERS}
41    BlinkSequence.cpp
42    ColorRange.cpp
43    DOFTransform.cpp
44    ElevationSlice.cpp
45    HeightAboveTerrain.cpp
46    Impostor.cpp
47    ImpostorSprite.cpp
48    InsertImpostorsVisitor.cpp
49    LightPoint.cpp
50    LightPointDrawable.cpp
51    LightPointDrawable.h
52    LightPointNode.cpp
53    LightPointSpriteDrawable.cpp
54    LightPointSpriteDrawable.h
55    LineOfSight.cpp
56    MultiSwitch.cpp
57    OverlayNode.cpp
58    ScalarBar.cpp
59    ScalarsToColors.cpp
60    Sector.cpp
61    ShapeAttribute.cpp
62    SphereSegment.cpp
63    Version.cpp
64    VisibilityGroup.cpp
65    ${OPENSCENEGRAPH_VERSIONINFO_RC}
66)
67
68LINK_INTERNAL(${LIB_NAME}     
69    osgText
70    osgUtil
71    osgDB
72    osg
73    OpenThreads
74)
75LINK_CORELIB_DEFAULT(${LIB_NAME})
76
77INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.