mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-18 06:59:44 -05:00
Move example -> examples
And the compositor example into its own directory
This commit is contained in:
parent
18e6ddc1c5
commit
28736c5787
12 changed files with 2 additions and 5 deletions
|
|
@ -1,80 +0,0 @@
|
|||
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
|
||||
shared.c
|
||||
)
|
||||
|
||||
target_link_libraries(compositor
|
||||
wlr-backend
|
||||
wlr-session
|
||||
wlr-render
|
||||
wlr-wayland
|
||||
${XKBCOMMON_LIBRARIES}
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue