foot/emulator/CMakeLists.txt
shylie 060ca1d3cd
All checks were successful
Test / build (push) Successful in 8s
Add more tests, prep for graphical output
2025-07-08 11:53:56 -04:00

17 lines
428 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)
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(PROJECT_IS_TOP_LEVEL)
enable_testing()
add_subdirectory(tests)
endif()