Files
connect_four/CMakeLists.txt
T
2025-09-04 21:23:05 -04:00

19 lines
401 B
CMake

cmake_minimum_required(VERSION 3.16)
project(connect_four)
set(CMAKE_C_STANDARD 23)
set(CMAKE_C_STANDARD_REQUIRED ON)
include_directories(include)
set(SOURCES
src/main.cpp
src/input.cpp
)
add_executable(connect_four ${SOURCES})
find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIR})
target_link_libraries(connect_four ${CURSES_LIBRARIES})
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)