mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-31 00:17:44 +08:00
20 lines
406 B
CMake
20 lines
406 B
CMake
find_package(ftxui)
|
|
function(example name)
|
|
add_executable(${name} ${name}.cpp)
|
|
target_link_libraries(${name} PUBLIC component)
|
|
endfunction(example)
|
|
|
|
example(checkbox)
|
|
example(checkbox_in_frame)
|
|
example(gallery)
|
|
example(input)
|
|
example(menu)
|
|
example(menu2)
|
|
example(menu_style)
|
|
example(radiobox)
|
|
example(radiobox_in_frame)
|
|
example(tab_horizontal)
|
|
example(tab_vertical)
|
|
example(toggle)
|
|
example(homescreen)
|