Rework application to support GTK4 GUI by default and TUI via -t flag
Some checks failed
Build / build (push) Failing after 4s

This commit is contained in:
2026-06-07 18:02:33 +02:00
parent 873ae5ae9d
commit d7ff90d072
4 changed files with 599 additions and 82 deletions

View File

@@ -1,6 +1,12 @@
cmake_minimum_required(VERSION 3.10.0)
project(ScreamIntoTheVoid VERSION 0.1.0 LANGUAGES C)
add_executable(ScreamIntoTheVoid draw.c main.c
main.h)
find_package(PkgConfig REQUIRED)
pkg_check_modules(GTK4 REQUIRED IMPORTED_TARGET gtk4)
add_executable(ScreamIntoTheVoid draw.c main.c gui.c
main.h draw.h gui.h)
target_link_libraries(ScreamIntoTheVoid PRIVATE PkgConfig::GTK4)