mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-26 12:37:06 +08:00
11 lines
241 B
CMake
11 lines
241 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
|
|
function(example name)
|
|
add_executable(${name} ${name}.cpp)
|
|
target_link_libraries(${name} PUBLIC ftxui)
|
|
endfunction(example)
|
|
|
|
add_subdirectory(component)
|
|
add_subdirectory(dom)
|
|
example(print_key_press)
|