diff options
author | Drew DeVault <ddevault@vistarmedia.com> | 2017-07-11 22:16:56 -0400 |
---|---|---|
committer | Drew DeVault <ddevault@vistarmedia.com> | 2017-07-11 22:16:56 -0400 |
commit | b08aa9fd35d650b15a5322bd1b6edea01f152f27 (patch) | |
tree | 26a5b75622d0a750478dee5c8a5d99f5b75846b6 /examples/CMakeLists.txt | |
parent | 7b9c330bc502f7ba4899872cc7d43de95ae5136e (diff) |
Revert "Merge pull request #27 from ascent12/meson"
This reverts commit 85805da021006697c85489c3e30717c2b807441c, reversing
changes made to 8189c64d7f07a756abf5a6189719f02b2f1af967.
Diffstat (limited to 'examples/CMakeLists.txt')
-rw-r--r-- | examples/CMakeLists.txt | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt new file mode 100644 index 00000000..f3f555c3 --- /dev/null +++ b/examples/CMakeLists.txt @@ -0,0 +1,81 @@ +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} +) |