Browse Source

init stuff

master
kolaente 3 years ago
parent
commit
12dbf1f22f
Signed by: konrad GPG Key ID: F40E70337AB24C9B
  1. 8
      CMakeLists.txt
  2. 3
      main.c

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

3
main.c

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

Loading…
Cancel
Save