Rework application to support GTK4 GUI by default and TUI via -t flag
Some checks failed
Build / build (push) Failing after 4s
Some checks failed
Build / build (push) Failing after 4s
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user