cmake_minimum_required(VERSION 3.20) add_library(app include/dxwindow.h src/dxwindow.c) target_include_directories(app PUBLIC include) target_link_libraries(app PUBLIC glfw)