2009-04-28 19:57:51 +08:00
|
|
|
SET(TARGET_SRC
|
|
|
|
AnimationMaterial.cpp
|
|
|
|
Cluster.cpp
|
|
|
|
CompileSlideCallback.cpp
|
|
|
|
ExportHTML.cpp
|
|
|
|
PickEventHandler.cpp
|
|
|
|
PointsEventHandler.cpp
|
|
|
|
present3D.cpp
|
2009-04-30 04:30:21 +08:00
|
|
|
ReaderWriterP3D.cpp
|
2009-04-28 19:57:51 +08:00
|
|
|
ReadShowFile.cpp
|
|
|
|
ShowEventHandler.cpp
|
|
|
|
SlideEventHandler.cpp
|
|
|
|
SlideShowConstructor.cpp
|
|
|
|
)
|
|
|
|
|
2009-04-30 04:30:21 +08:00
|
|
|
SET(TARGET_H
|
|
|
|
AnimationMaterial.h
|
|
|
|
Cluster.h
|
|
|
|
CompileSlideCallback.h
|
|
|
|
ExportHTML.h
|
|
|
|
PickEventHandler.h
|
|
|
|
PointsEventHandler.h
|
|
|
|
ReadShowFile.h
|
|
|
|
ShowEventHandler.h
|
|
|
|
SlideEventHandler.h
|
|
|
|
SlideShowConstructor.h
|
|
|
|
)
|
|
|
|
|
2009-04-28 19:57:51 +08:00
|
|
|
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)
|
|
|
|
|
2009-04-30 04:30:21 +08:00
|
|
|
SETUP_APPLICATION(present3D-osg)
|