WorldsTerminal/CMakeLists.txt

11 lines
326 B
CMake
Raw Normal View History

2023-09-22 17:28:35 -04:00
cmake_minimum_required(VERSION 3.5)
project(worldsterm)
SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED True)
SET(CMAKE_CXX_FLAGS "-O3")
2023-09-22 18:20:40 -04:00
set(CURSES_NEED_NCURSES TRUE)
2023-09-22 17:28:35 -04:00
find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIRS})
add_subdirectory(src)
install(TARGETS worldsterm RUNTIME DESTINATION bin)