mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-31 16:27:30 +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)
|