|
Revision 10207, 1.2 kB
(checked in by robert, 4 years ago)
|
|
Integrated support for relative paths, and http hosted presentations
|
| Line | |
|---|
| 1 | SET(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 | ReaderWriterPaths.cpp |
|---|
| 11 | ReadShowFile.cpp |
|---|
| 12 | ShowEventHandler.cpp |
|---|
| 13 | SlideEventHandler.cpp |
|---|
| 14 | SlideShowConstructor.cpp |
|---|
| 15 | ) |
|---|
| 16 | |
|---|
| 17 | SET(TARGET_H |
|---|
| 18 | AnimationMaterial.h |
|---|
| 19 | Cluster.h |
|---|
| 20 | CompileSlideCallback.h |
|---|
| 21 | ExportHTML.h |
|---|
| 22 | PickEventHandler.h |
|---|
| 23 | PointsEventHandler.h |
|---|
| 24 | ReadShowFile.h |
|---|
| 25 | ShowEventHandler.h |
|---|
| 26 | SlideEventHandler.h |
|---|
| 27 | SlideShowConstructor.h |
|---|
| 28 | ) |
|---|
| 29 | |
|---|
| 30 | IF (SDL_FOUND) |
|---|
| 31 | |
|---|
| 32 | OPTION(BUILD_PRESENT3D_WITH_SDL "Set to ON to build Present3D with SDL for joystick support." OFF) |
|---|
| 33 | |
|---|
| 34 | IF (BUILD_PRESENT3D_WITH_SDL) |
|---|
| 35 | |
|---|
| 36 | SET(TARGET_EXTERNAL_LIBRARIES ${SDL_LIBRARY} ) |
|---|
| 37 | INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR} ) |
|---|
| 38 | |
|---|
| 39 | SET(TARGET_SRC |
|---|
| 40 | ${TARGET_SRC} |
|---|
| 41 | SDLIntegration.cpp |
|---|
| 42 | ) |
|---|
| 43 | |
|---|
| 44 | SET(TARGET_H |
|---|
| 45 | ${TARGET_H} |
|---|
| 46 | SDLIntegration.h |
|---|
| 47 | ) |
|---|
| 48 | |
|---|
| 49 | ADD_DEFINITIONS(-DUSE_SDL) |
|---|
| 50 | |
|---|
| 51 | ENDIF() |
|---|
| 52 | |
|---|
| 53 | ENDIF() |
|---|
| 54 | |
|---|
| 55 | SET(TARGET_ADDED_LIBRARIES osgVolume osgFX) |
|---|
| 56 | |
|---|
| 57 | IF (WIN32) |
|---|
| 58 | SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARIES} ws2_32) |
|---|
| 59 | ENDIF() |
|---|
| 60 | |
|---|
| 61 | SETUP_APPLICATION(present3D-osg) |
|---|