From 924bf0f669cde20b414cd9f12e72750ca5fdbbaf Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 11 Jul 2017 00:20:31 +1200 Subject: Changed build system to meson --- examples/CMakeLists.txt | 81 ------------------------------------- examples/compositor/main.c | 4 +- examples/compositor/wl_compositor.c | 2 +- examples/compositor/wl_shell.c | 2 +- 4 files changed, 4 insertions(+), 85 deletions(-) delete mode 100644 examples/CMakeLists.txt (limited to 'examples') diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt deleted file mode 100644 index f3f555c3..00000000 --- a/examples/CMakeLists.txt +++ /dev/null @@ -1,81 +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/main.c - compositor/wl_compositor.c - compositor/wl_shell.c - shared.c -) - -target_link_libraries(compositor - wlr-backend - wlr-session - wlr-render - ${XKBCOMMON_LIBRARIES} -) diff --git a/examples/compositor/main.c b/examples/compositor/main.c index 6a689669..d59ef7a8 100644 --- a/examples/compositor/main.c +++ b/examples/compositor/main.c @@ -11,8 +11,8 @@ #include #include #include -#include "shared.h" -#include "compositor.h" +#include "../shared.h" +#include "../compositor.h" struct sample_state { struct wlr_renderer *renderer; diff --git a/examples/compositor/wl_compositor.c b/examples/compositor/wl_compositor.c index 0cd73afb..198e0a34 100644 --- a/examples/compositor/wl_compositor.c +++ b/examples/compositor/wl_compositor.c @@ -1,7 +1,7 @@ #include #include #include -#include "compositor.h" +#include "../compositor.h" static void wl_compositor_create_surface(struct wl_client *client, struct wl_resource *resource, uint32_t id) { diff --git a/examples/compositor/wl_shell.c b/examples/compositor/wl_shell.c index f2ec3c56..9067ef09 100644 --- a/examples/compositor/wl_shell.c +++ b/examples/compositor/wl_shell.c @@ -1,7 +1,7 @@ #include #include #include -#include "compositor.h" +#include "../compositor.h" void wl_shell_get_shell_surface(struct wl_client *client, struct wl_resource *resource, uint32_t id, -- cgit v1.2.3