aboutsummaryrefslogtreecommitdiff
path: root/example/CMakeLists.txt
blob: ef11a822d7d49e870aec71e5184bc6eab5695eca (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
36
37
38
39
40
41
42
include_directories(
	${DRM_INCLUDE_DIRS}
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${XKBCOMMON_INCLUDE_DIRS}
)

add_executable(simple
    simple.c
    shared.c
)

target_link_libraries(simple
    wlr-backend
    wlr-session
    ${XKBCOMMON_LIBRARIES}
)

add_executable(rotation
    rotation.c
    shared.c
    cat.c
)

target_link_libraries(rotation
    wlr-backend
    wlr-session
    wlr-render
    ${XKBCOMMON_LIBRARIES}
)

add_executable(pointer
    pointer.c
    shared.c
    cat.c
)

target_link_libraries(pointer
    wlr-backend
    wlr-session
    wlr-render
    ${XKBCOMMON_LIBRARIES}
)