FTXUI/examples/component/CMakeLists.txt

21 lines
458 B
CMake
Raw Normal View History

function(example name)
add_executable(${name} ${name}.cpp)
target_link_libraries(${name} PUBLIC component)
2020-03-23 04:01:44 +08:00
set_property(TARGET ${name} PROPERTY CXX_STANDARD 17)
endfunction(example)
2020-08-26 22:26:09 +08:00
example(button)
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)
2020-08-26 22:26:09 +08:00
example(homescreen)
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)