mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-31 08:19:34 +08:00
21 lines
458 B
CMake
21 lines
458 B
CMake
function(example name)
|
|
add_executable(${name} ${name}.cpp)
|
|
target_link_libraries(${name} PUBLIC component)
|
|
set_property(TARGET ${name} PROPERTY CXX_STANDARD 17)
|
|
endfunction(example)
|
|
|
|
example(button)
|
|
example(checkbox)
|
|
example(checkbox_in_frame)
|
|
example(gallery)
|
|
example(homescreen)
|
|
example(input)
|
|
example(menu)
|
|
example(menu2)
|
|
example(menu_style)
|
|
example(radiobox)
|
|
example(radiobox_in_frame)
|
|
example(tab_horizontal)
|
|
example(tab_vertical)
|
|
example(toggle)
|