root/OpenSceneGraph/trunk/applications/present3D/CMakeLists.txt @ 10124

Revision 10124, 1.1 kB (checked in by robert, 6 years ago)

Build fixes

Line 
1SET(TARGET_SRC
2    AnimationMaterial.cpp
3    Cluster.cpp
4    CompileSlideCallback.cpp
5    ExportHTML.cpp
6    PickEventHandler.cpp
7    PointsEventHandler.cpp
8    present3D.cpp
9    ReaderWriterP3D.cpp
10    ReadShowFile.cpp
11    ShowEventHandler.cpp
12    SlideEventHandler.cpp
13    SlideShowConstructor.cpp
14)
15
16SET(TARGET_H
17    AnimationMaterial.h
18    Cluster.h
19    CompileSlideCallback.h
20    ExportHTML.h
21    PickEventHandler.h
22    PointsEventHandler.h
23    ReadShowFile.h
24    ShowEventHandler.h
25    SlideEventHandler.h
26    SlideShowConstructor.h
27)
28
29IF (SDL_FOUND)
30
31    OPTION(BUILD_WITH_SDL "Set to ON to build with SDL for joystick support." OFF)
32
33    IF (BUILD_WITH_SDL)
34
35        SET(TARGET_ADDED_LIBRARIES ${TARGET_ADDED_LIBRARIES} ${SDL_LIBRARY})
36        SET(EXTERNAL_INCLUDE_DIRS ${EXTERNAL_INCLUDE_DIRS} ${SDL_INCLUDE_DIR})
37
38        SET(TARGET_SRC
39           ${TARGET_SRC}
40           SDLIntegration.cpp
41        )
42
43        SET(TARGET_H
44           ${TARGET_H}
45           SDLIntegration.h
46        )
47
48        ADD_DEFINITIONS(-DUSE_SDL)
49
50    ENDIF(BUILD_WITH_SDL)
51
52ENDIF(SDL_FOUND)
53
54SET(TARGET_ADDED_LIBRARIES osgVolume osgFX)
55
56SETUP_APPLICATION(present3D-osg)
Note: See TracBrowser for help on using the browser.