OpenSceneGraph/applications/present3D/CMakeLists.txt

61 lines
1.2 KiB
CMake
Raw Normal View History

SET(TARGET_SRC
AnimationMaterial.cpp
Cluster.cpp
CompileSlideCallback.cpp
ExportHTML.cpp
PickEventHandler.cpp
PointsEventHandler.cpp
present3D.cpp
ReaderWriterP3D.cpp
ReadShowFile.cpp
ShowEventHandler.cpp
SlideEventHandler.cpp
SlideShowConstructor.cpp
)
SET(TARGET_H
AnimationMaterial.h
Cluster.h
CompileSlideCallback.h
ExportHTML.h
PickEventHandler.h
PointsEventHandler.h
ReadShowFile.h
ShowEventHandler.h
SlideEventHandler.h
SlideShowConstructor.h
)
IF (SDL_FOUND)
OPTION(BUILD_WITH_SDL "Set to ON to build with SDL for joystick support." OFF)
IF (BUILD_WITH_SDL)
SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} ${SDL_LIBRARY})
SET(EXTERNAL_INCLUDE_DIRS ${EXTERNAL_INCLUDE_DIRS} ${SDL_INCLUDE_DIR})
SET(TARGET_SRC
${TARGET_SRC}
SDLIntegration.cpp
)
SET(TARGET_H
${TARGET_H}
SDLIntegration.h
)
ADD_DEFINITIONS(-DUSE_SDL)
ENDIF(BUILD_WITH_SDL)
ENDIF(SDL_FOUND)
SET(TARGET_ADDED_LIBRARIES osgVolume osgFX)
2009-05-01 16:10:56 +08:00
IF (WIN32)
SET(TARGET_EXTERNAL_LIBRARIES ws2_32)
ENDIF(WIN32)
SETUP_APPLICATION(present3D-osg)