init stuff

This commit is contained in:
kolaente 2019-06-02 16:46:54 +02:00
parent 7bedf7fb59
commit 12dbf1f22f
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 11 additions and 0 deletions

8
CMakeLists.txt Normal file
View File

@ -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)

3
main.c
View File

@ -1,3 +1,6 @@
#include <curses.h>
#include <X11/Xlib.h>
int main() {
Display *dpy;
Window root_window;