21 lines
414 B
CMake
21 lines
414 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(spectrum LANGUAGES CXX)
|
|
|
|
find_package(SDL3 REQUIRED CONFIG)
|
|
|
|
add_executable(spectrum
|
|
source/main.cpp
|
|
source/core/rendering/video.cpp
|
|
source/game/director.cpp
|
|
source/game/scenes/test.cpp
|
|
)
|
|
|
|
target_compile_features(spectrum PRIVATE cxx_std_20)
|
|
|
|
target_include_directories(spectrum PRIVATE
|
|
source
|
|
)
|
|
|
|
target_link_libraries(spectrum PRIVATE SDL3::SDL3)
|