diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..fce70ab --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,27 @@ +cmake_minimum_required(VERSION 3.22) +project(wehfou) + +include(GenerateG3A) +include(Fxconv) +find_package(Gint 2.7.0 REQUIRED) + +include_directories(inc) + +set(SOURCES + src/main.c + src/lzy.c +) + +set(ASSETS + res/tset.png + res/font.png +) + +fxconv_declare_assets(${ASSETS} WITH_METADATA) + +add_executable(thyaddin ${SOURCES} ${ASSETS}) +target_compile_options(thyaddin PRIVATE -Wall -Wextra -Os) +target_link_libraries(thyaddin Gint::Gint) + +generate_g3a(TARGET thyaddin OUTPUT "wehfou.g3a" + NAME "wehfou" ICONS res/icon-uns.png res/icon-sel.png) |