cmake_minimum_required(VERSION 3.16)

project(spectrum LANGUAGES CXX)

find_package(SDL3 REQUIRED CONFIG)

add_executable(spectrum
    source/core/main.cpp
    source/core/rendering/video.cpp
    source/core/system/director.cpp
)

target_compile_features(spectrum PRIVATE cxx_std_20)

target_include_directories(spectrum PRIVATE
    source/core
)

target_link_libraries(spectrum PRIVATE SDL3::SDL3)
