[Renderers/Terminal] Add initial implementation of terminal renderer (#91)

This commit is contained in:
Emmanuel 2025-05-21 21:45:52 -03:00 committed by GitHub
parent 7af50d0f48
commit 65e813d4df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 249 additions and 0 deletions

View file

@ -0,0 +1,15 @@
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 .)
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
target_link_libraries(clay_examples_terminal INTERFACE m)
endif()
target_link_libraries(clay_examples_terminal PUBLIC ${CURSES_LIBRARY})
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Werror -DCLAY_DEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")