From 12dbf1f22f71708e3b742cded3a5872f7a715d12 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 2 Jun 2019 16:46:54 +0200 Subject: [PATCH] init stuff --- CMakeLists.txt | 8 ++++++++ main.c | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..a7c3789 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 3.14) +project(annoying C) + +set(CMAKE_C_STANDARD 11) + +add_executable(annoying + main.c) +target_link_libraries(annoying X11) \ No newline at end of file diff --git a/main.c b/main.c index 8bd359b..24f3be3 100644 --- a/main.c +++ b/main.c @@ -1,3 +1,6 @@ +#include +#include + int main() { Display *dpy; Window root_window;