2022-07-19 17:34:21 +00:00
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
|
|
find_package(SDL2 REQUIRED)
|
|
|
|
|
2022-07-19 18:41:44 +00:00
|
|
|
FILE(GLOB_RECURSE SOURCES src/*.cpp src/*.h)
|
|
|
|
|
|
|
|
add_executable(shadow-runtime ${SOURCES})
|
2022-07-19 17:34:21 +00:00
|
|
|
|
|
|
|
target_include_directories(shadow-runtime PRIVATE ${SDL2_INCLUDE_DIRS})
|
|
|
|
target_link_libraries(shadow-runtime PRIVATE SDL2::Main shadow-engine)
|