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

Revision 11401, 1.4 kB (checked in by robert, 5 years ago)

Added beginnings of spell checking support

Line 
1SET(TARGET_SRC
2    Cluster.cpp
3    ExportHTML.cpp
4    PointsEventHandler.cpp
5    present3D.cpp
6    ReadShowFile.cpp
7    ShowEventHandler.cpp
8    SpellChecker.cpp
9)
10
11SET(TARGET_H
12    Cluster.h
13    ExportHTML.h
14    PointsEventHandler.h
15    ReadShowFile.h
16    ShowEventHandler.h
17    SpellChecker.h
18)
19
20IF (SDL_FOUND)
21
22    OPTION(BUILD_PRESENT3D_WITH_SDL "Set to ON to build Present3D with SDL for joystick support." OFF)
23
24    IF (BUILD_PRESENT3D_WITH_SDL)
25
26        SET(TARGET_EXTERNAL_LIBRARIES ${SDL_LIBRARY} )
27        INCLUDE_DIRECTORIES(${SDL_INCLUDE_DIR} )
28
29        SET(TARGET_SRC
30           ${TARGET_SRC}
31           SDLIntegration.cpp
32        )
33
34        SET(TARGET_H
35           ${TARGET_H}
36           SDLIntegration.h
37        )
38
39        ADD_DEFINITIONS(-DUSE_SDL)
40
41    ENDIF()
42
43ENDIF()
44
45SET(TARGET_ADDED_LIBRARIES osgVolume osgFX osgPresentation)
46
47IF (NOT DYNAMIC_OPENSCENEGRAPH)
48    SET(TARGET_ADDED_LIBRARIES
49        ${TARGET_ADDED_LIBRARIES}
50            osgdb_ive
51            osgdb_osg
52            osgdb_p3d
53
54            osgdb_freetype
55            osgdb_pdf
56            osgdb_rgb
57            osgdb_jpeg
58            osgdb_png
59
60            osgdb_ffmpeg
61
62            osgdb_openflight
63            osgdb_obj
64
65            osgdb_curl
66    )
67ENDIF()
68
69IF   (WIN32)
70    # to support cluster code
71    SET(TARGET_EXTERNAL_LIBRARIES ${TARGET_EXTERNAL_LIBRARIES} ws2_32)
72ENDIF()
73
74
75SETUP_APPLICATION(present3D)
Note: See TracBrowser for help on using the browser.