mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-21 05:38:04 +00:00
12 lines
420 B
CMake
12 lines
420 B
CMake
|
cmake_minimum_required(VERSION 3.27)
|
||
|
project(clay_examples_terminal C)
|
||
|
set(CMAKE_C_STANDARD 99)
|
||
|
|
||
|
add_executable(clay_examples_terminal main.c)
|
||
|
|
||
|
target_compile_options(clay_examples_terminal PUBLIC)
|
||
|
target_include_directories(clay_examples_terminal PUBLIC .)
|
||
|
|
||
|
target_link_libraries(clay_examples_terminal PUBLIC ${CURSES_LIBRARY})
|
||
|
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG")
|
||
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
|