FTXUI/examples/dom/CMakeLists.txt

31 lines
672 B
CMake
Raw Normal View History

function(example name)
add_executable(${name} ${name}.cpp)
target_link_libraries(${name} PUBLIC dom)
2020-03-23 04:01:44 +08:00
set_property(TARGET ${name} PROPERTY CXX_STANDARD 17)
endfunction(example)
2019-01-20 05:06:05 +08:00
example(border)
example(color_gallery)
example(dbox)
2019-01-03 07:35:59 +08:00
example(gauge)
example(graph)
example(hflow)
example(html_like)
example(package_manager)
example(paragraph)
2019-01-03 05:33:59 +08:00
example(separator)
example(size)
2019-01-07 05:28:15 +08:00
example(spinner)
2019-01-19 09:24:05 +08:00
example(style_blink)
example(style_bold)
example(style_color)
example(color_truecolor_RGB)
example(color_truecolor_HSV)
2020-09-06 19:43:24 +08:00
example(color_info_palette256)
2019-01-19 09:24:05 +08:00
example(style_dim)
2019-01-06 08:28:14 +08:00
example(style_gallery)
2019-01-19 09:24:05 +08:00
example(style_inverted)
example(style_underlined)
2019-01-03 05:33:59 +08:00
example(vbox_hbox)
2020-05-25 07:34:13 +08:00
example(window)