File: CMakeLists.txt

package info (click to toggle)
libsfml 2.5.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,772 kB
  • sloc: cpp: 31,651; ansic: 6,399; objc: 653; sh: 199; xml: 30; makefile: 14
file content (38 lines) | stat: -rw-r--r-- 999 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

# iOS Demo
if(SFML_OS_IOS)
    add_subdirectory(iOS)
else(SFML_OS_IOS)

    # add the examples subdirectories
    if(SFML_BUILD_NETWORK)
        add_subdirectory(ftp)
        add_subdirectory(sockets)
    endif()
    if(SFML_BUILD_NETWORK AND SFML_BUILD_AUDIO)
        add_subdirectory(voip)
    endif()
    if(SFML_BUILD_AUDIO)
        add_subdirectory(sound)
        add_subdirectory(sound_capture)
    endif()
    if(SFML_BUILD_WINDOW)
        add_subdirectory(window)
    endif()
    if(SFML_BUILD_GRAPHICS)
        add_subdirectory(joystick)
        add_subdirectory(opengl)
        add_subdirectory(shader)
        add_subdirectory(island)
        if(SFML_OS_WINDOWS)
            add_subdirectory(win32)
        elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD)
            add_subdirectory(X11)
        elseif(SFML_OS_MACOSX)
            add_subdirectory(cocoa)
        endif()
    endif()
    if(SFML_BUILD_GRAPHICS AND SFML_BUILD_AUDIO)
        add_subdirectory(pong)
    endif()
endif(SFML_OS_IOS)