OpenSceneGraph/src/osgGA/CMakeLists.txt
Robert Osfield 4016aed62d Moved experimental Widget class to osgGA
Add computeIntersections() to the osgGA::GUIActionAdapter base class to enable intersection tests without needing to directly link to osgViewer.
2014-02-06 17:32:41 +00:00

78 lines
2.0 KiB
CMake

IF (DYNAMIC_OPENSCENEGRAPH)
ADD_DEFINITIONS(-DOSGGA_LIBRARY)
ELSE (DYNAMIC_OPENSCENEGRAPH)
ADD_DEFINITIONS(-DOSG_LIBRARY_STATIC)
ENDIF(DYNAMIC_OPENSCENEGRAPH)
SET(LIB_NAME osgGA)
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
SET(TARGET_H
${HEADER_PATH}/AnimationPathManipulator
${HEADER_PATH}/CameraViewSwitchManipulator
${HEADER_PATH}/DriveManipulator
${HEADER_PATH}/Device
${HEADER_PATH}/Event
${HEADER_PATH}/EventHandler
${HEADER_PATH}/EventQueue
${HEADER_PATH}/EventVisitor
${HEADER_PATH}/Export
${HEADER_PATH}/FirstPersonManipulator
${HEADER_PATH}/FlightManipulator
${HEADER_PATH}/GUIActionAdapter
${HEADER_PATH}/GUIEventAdapter
${HEADER_PATH}/GUIEventHandler
${HEADER_PATH}/KeySwitchMatrixManipulator
${HEADER_PATH}/CameraManipulator
${HEADER_PATH}/MultiTouchTrackballManipulator
${HEADER_PATH}/NodeTrackerManipulator
${HEADER_PATH}/OrbitManipulator
${HEADER_PATH}/StandardManipulator
${HEADER_PATH}/SphericalManipulator
${HEADER_PATH}/StateSetManipulator
${HEADER_PATH}/TerrainManipulator
${HEADER_PATH}/TrackballManipulator
${HEADER_PATH}/UFOManipulator
${HEADER_PATH}/Widget
${HEADER_PATH}/Version
)
SET(TARGET_SRC
AnimationPathManipulator.cpp
DriveManipulator.cpp
Device.cpp
Event.cpp
EventHandler.cpp
EventQueue.cpp
EventVisitor.cpp
FirstPersonManipulator.cpp
FlightManipulator.cpp
GUIEventAdapter.cpp
GUIEventHandler.cpp
KeySwitchMatrixManipulator.cpp
CameraManipulator.cpp
MultiTouchTrackballManipulator.cpp
NodeTrackerManipulator.cpp
OrbitManipulator.cpp
StandardManipulator.cpp
SphericalManipulator.cpp
StateSetManipulator.cpp
TerrainManipulator.cpp
TrackballManipulator.cpp
UFOManipulator.cpp
Widget.cpp
Version.cpp
CameraViewSwitchManipulator.cpp
${OPENSCENEGRAPH_VERSIONINFO_RC}
)
SET(TARGET_LIBRARIES
osgDB
osgUtil
osg
OpenThreads
)
SETUP_LIBRARY(${LIB_NAME})