Adding basic ncurses demo project.
This commit is contained in:
parent
4282cc4b12
commit
f3563ce6d1
5 changed files with 60 additions and 0 deletions
10
2024/07/ncurses_demo1/CMakeLists.txt
Normal file
10
2024/07/ncurses_demo1/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
cmake_minimum_required(VERSION 3.28)
|
||||
project(ncurses_demo1)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
|
||||
find_package(Curses REQUIRED)
|
||||
|
||||
add_executable(ncurses_demo1 src/main.cpp)
|
||||
target_include_directories(ncurses_demo1 PUBLIC ${Curses_INCLUDE_DIRS})
|
||||
target_link_libraries(ncurses_demo1 Curses::Curses)
|
Loading…
Add table
Add a link
Reference in a new issue