You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
1.1 KiB
82 lines
1.1 KiB
7 years ago
|
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}
|
||
|
)
|
||
|
|
||
|
add_executable(touch
|
||
|
touch.c
|
||
|
shared.c
|
||
|
cat.c
|
||
|
)
|
||
|
|
||
|
target_link_libraries(touch
|
||
|
wlr-backend
|
||
|
wlr-session
|
||
|
wlr-render
|
||
|
${XKBCOMMON_LIBRARIES}
|
||
|
)
|
||
|
|
||
|
add_executable(tablet
|
||
|
tablet.c
|
||
|
shared.c
|
||
|
)
|
||
|
|
||
|
target_link_libraries(tablet
|
||
|
wlr-backend
|
||
|
wlr-session
|
||
|
wlr-render
|
||
|
${XKBCOMMON_LIBRARIES}
|
||
|
)
|
||
|
|
||
|
add_executable(compositor
|
||
|
compositor/main.c
|
||
|
compositor/wl_compositor.c
|
||
|
compositor/wl_shell.c
|
||
|
shared.c
|
||
|
)
|
||
|
|
||
|
target_link_libraries(compositor
|
||
|
wlr-backend
|
||
|
wlr-session
|
||
|
wlr-render
|
||
|
${XKBCOMMON_LIBRARIES}
|
||
|
)
|