Separator ftxui::{screen,dom,component} into separate build unit.

This commit is contained in:
Arthur Sonzogni
2019-01-06 18:53:02 +01:00
parent 5887114793
commit 7efe8a6385
7 changed files with 121 additions and 41 deletions

View File

@@ -1,3 +1,9 @@
find_package(ftxui)
function(example name)
add_executable(${name} ${name}.cpp)
target_link_libraries(${name} PUBLIC component)
endfunction(example)
example(input)
example(menu)
example(menu2)