summaryrefslogtreecommitdiff
path: root/src/video/CMakeLists.txt
blob: a5d862e9b6441638358696c995a648eee454dfec (plain)
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
add_subdirectory(cocoa)

if(NOT OPTION_DEDICATED)
    add_files(
        allegro_v.cpp
        allegro_v.h
        CONDITION Allegro_FOUND
    )

    add_files(
        sdl_v.cpp
        sdl_v.h
        CONDITION SDL_FOUND
    )

    add_files(
        sdl2_v.cpp
        sdl2_v.h
        CONDITION SDL2_FOUND
    )

    add_files(
        win32_v.cpp
        win32_v.h
        CONDITION WIN32
    )
endif()

add_files(
    dedicated_v.cpp
    dedicated_v.h
    null_v.cpp
    null_v.h
    video_driver.hpp
)