jtmm2/CMakeLists.txt

34 lines
589 B
CMake
Raw Normal View History

2021-12-15 23:07:26 +01:00
cmake_minimum_required(VERSION 3.21)
project(JTMM2 C)
include(GenerateG3A)
include(Fxconv)
find_package(Gint 2.6.0 REQUIRED)
include_directories(inc)
set(SOURCES
src/main.c
2021-12-15 23:43:04 +01:00
src/draw.c
src/player.c
2021-12-15 23:07:26 +01:00
)
set(ASSETS
)
set(FLAGS -std=c99 -Os -Wall -Wextra -Wshadow)
fxconv_declare_assets(${ASSETS} WITH_METADATA)
add_executable(proj ${SOURCES} ${ASSETS})
target_compile_options(proj PRIVATE ${FLAGS})
target_link_libraries(proj Gint::Gint)
target_link_options(proj PRIVATE -Wl,-Map=map)
generate_g3a(TARGET proj
OUTPUT "jtmm2.g3a"
2021-12-15 23:43:04 +01:00
NAME ""
2021-12-15 23:07:26 +01:00
ICONS res/icon/uns.png res/icon/sel.png)