16 lines
328 B
CMake
16 lines
328 B
CMake
|
cmake_minimum_required(VERSION 3.27)
|
||
|
project(CrocParty C)
|
||
|
|
||
|
set(CMAKE_C_STANDARD 11)
|
||
|
|
||
|
add_subdirectory(vendored/sdl EXCLUDE_FROM_ALL)
|
||
|
add_executable(CrocParty main.c
|
||
|
sdl_host.c
|
||
|
sdl_host.h
|
||
|
game.c
|
||
|
game.h
|
||
|
device.c
|
||
|
device.h
|
||
|
)
|
||
|
target_link_libraries(CrocParty PRIVATE SDL2::SDL2-static)
|