foot/emulator/CMakeLists.txt
shylie 7a49be864a
Some checks failed
Test / build (push) Failing after 6s
Add ZLSH instruction
2025-12-06 13:23:04 -05:00

17 lines
449 B
CMake

cmake_minimum_required(VERSION 3.20)
project(foot-emulator)
add_library(foot-emulator src/foot-emulator.cpp include/foot-emulator.h)
target_include_directories(foot-emulator PUBLIC include)
target_link_libraries(foot-emulator PUBLIC dwarf)
find_package(SDL3 REQUIRED CONFIG)
add_executable(foot-emulator-cli src/main.cpp)
target_link_libraries(foot-emulator-cli PUBLIC foot-emulator SDL3::SDL3)
if(FOOT_TESTS)
add_subdirectory(tests)
endif()