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

Revision 9671, 1.7 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(-DOSGGA_LIBRARY)
4ELSE (DYNAMIC_OPENSCENEGRAPH)
5    ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
6ENDIF(DYNAMIC_OPENSCENEGRAPH)
7
8SET(LIB_NAME osgGA)
9SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
10SET(LIB_PUBLIC_HEADERS
11    ${HEADER_PATH}/AnimationPathManipulator
12    ${HEADER_PATH}/DriveManipulator
13    ${HEADER_PATH}/EventQueue
14    ${HEADER_PATH}/EventVisitor
15    ${HEADER_PATH}/Export
16    ${HEADER_PATH}/FlightManipulator
17    ${HEADER_PATH}/GUIActionAdapter
18    ${HEADER_PATH}/GUIEventAdapter
19    ${HEADER_PATH}/GUIEventHandler
20    ${HEADER_PATH}/KeySwitchMatrixManipulator
21    ${HEADER_PATH}/MatrixManipulator
22    ${HEADER_PATH}/NodeTrackerManipulator
23    ${HEADER_PATH}/StateSetManipulator
24    ${HEADER_PATH}/TerrainManipulator
25    ${HEADER_PATH}/TrackballManipulator
26    ${HEADER_PATH}/UFOManipulator
27    ${HEADER_PATH}/Version
28    ${HEADER_PATH}/CameraViewSwitchManipulator
29)
30
31# FIXME: For OS X, need flag for Framework or dylib
32ADD_LIBRARY(${LIB_NAME}
33    ${OPENSCENEGRAPH_USER_DEFINED_DYNAMIC_OR_STATIC}
34    ${LIB_PUBLIC_HEADERS}
35    AnimationPathManipulator.cpp
36    DriveManipulator.cpp
37    EventQueue.cpp
38    EventVisitor.cpp
39    FlightManipulator.cpp
40    GUIEventAdapter.cpp
41    GUIEventHandler.cpp
42    KeySwitchMatrixManipulator.cpp
43    MatrixManipulator.cpp
44    NodeTrackerManipulator.cpp
45    StateSetManipulator.cpp
46    TerrainManipulator.cpp
47    TrackballManipulator.cpp
48    UFOManipulator.cpp
49    Version.cpp
50    CameraViewSwitchManipulator.cpp
51    ${OPENSCENEGRAPH_VERSIONINFO_RC}
52)
53
54LINK_INTERNAL(${LIB_NAME}     
55    osgDB
56    osgUtil
57    osg
58    OpenThreads
59)
60
61LINK_CORELIB_DEFAULT(${LIB_NAME})
62
63INCLUDE(ModuleInstall OPTIONAL)
Note: See TracBrowser for help on using the browser.