FTXUI/examples/component/CMakeLists.txt
cmorganBE 23789c2d7b
Component example showing composition of components (#150)
This approach can allow for UI sections that are more modular and reusable
2021-07-14 15:04:12 +02:00

27 lines
585 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(composition)
example(gallery)
example(homescreen)
example(input)
example(menu)
example(menu2)
example(menu_multiple)
example(menu_style)
example(modal_dialog)
example(radiobox)
example(radiobox_in_frame)
example(slider)
example(slider_rgb)
example(tab_horizontal)
example(tab_vertical)
example(toggle)
example(resizable_split)