2019-01-07 01:53:02 +08:00
|
|
|
find_package(ftxui)
|
|
|
|
function(example name)
|
|
|
|
add_executable(${name} ${name}.cpp)
|
|
|
|
target_link_libraries(${name} PUBLIC component)
|
|
|
|
endfunction(example)
|
|
|
|
|
2019-01-19 05:41:33 +08:00
|
|
|
example(checkbox)
|
2019-01-20 05:06:05 +08:00
|
|
|
example(checkbox_in_frame)
|
2019-01-13 05:25:49 +08:00
|
|
|
example(gallery)
|
2019-01-03 05:33:59 +08:00
|
|
|
example(input)
|
|
|
|
example(menu)
|
|
|
|
example(menu2)
|
2019-01-03 07:35:59 +08:00
|
|
|
example(menu_style)
|
2019-01-19 05:41:33 +08:00
|
|
|
example(radiobox)
|
2019-01-20 05:06:05 +08:00
|
|
|
example(radiobox_in_frame)
|
2019-01-13 05:25:49 +08:00
|
|
|
example(tab_horizontal)
|
|
|
|
example(tab_vertical)
|
2019-01-19 05:41:33 +08:00
|
|
|
example(toggle)
|
2019-01-27 09:33:06 +08:00
|
|
|
example(homescreen)
|