FTXUI/examples/CMakeLists.txt
2019-01-02 22:33:59 +01:00

9 lines
204 B
CMake

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)