Files
Snake/CMakeLists.txt
2025-07-29 13:42:48 +02:00

28 lines
574 B
CMake

cmake_minimum_required(VERSION 3.15)
project(snake)
# Specify the source files
set(SOURCES
main.c
snake.c
#util.c
#file3.c
)
# Add the executable
add_executable(snake ${SOURCES})
# Compiler flags
target_compile_options(snake PUBLIC -std=c99 -Wall)
###############################################################################
## dependencies ###############################################################
###############################################################################
# Used libraries
target_link_libraries(snake PUBLIC ncurses)