Files
sortui/CMakeLists.txt
T
lyrgb 4d59287f9c ic working example
setup with working timers and timermanager
2026-07-28 02:39:29 +02:00

22 lines
428 B
CMake

cmake_minimum_required(VERSION 3.24)
project(cppout)
file(GLOB SOURCE_FILES "*.cpp")
find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIR})
add_executable(${PROJECT_NAME} ${SOURCE_FILES})
if(MSVC)
target_compile_option(${PROJECT_NAME} PRIVATE /W4)
else()
target_compile_options(${PROJECT_NAME} PRIVATE
-Wall
-Wextra
-Wpedantic
)
endif()
target_link_libraries(${PROJECT_NAME} ${CURSES_LIBRARIES})