tlb-simulator/CMakeLists.txt

19 lines
504 B
CMake

# Configure with [fxsdk build-fx] or [fxsdk build-cg], which provide the
# toolchain file and module path of the fxSDK
cmake_minimum_required(VERSION 3.18)
project(TLBSimulator)
include(GenerateG3A)
find_package(Gint 2.1 REQUIRED)
add_executable(tlbsim src/main.c)
target_compile_options(tlbsim PRIVATE -Wall -Wextra -Os)
target_link_libraries(tlbsim Gint::Gint)
generate_g3a(
TARGET tlbsim
OUTPUT "${PROJECT_NAME}.g3a"
NAME "${PROJECT_NAME}"
ICONS assets-cg/icon-uns.png assets-cg/icon-sel.png)