FTXUI/examples/dom/CMakeLists.txt

26 lines
544 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-03 07:35:59 +08:00
example(dbox)
2019-01-20 05:06:05 +08:00
example(border)
2019-01-03 07:35:59 +08:00
example(gauge)
example(package_manager)
2019-01-03 05:33:59 +08:00
example(separator)
2019-01-27 04:52:55 +08:00
example(graph)
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(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-23 06:42:57 +08:00
example(size)
2019-01-03 05:33:59 +08:00
example(vbox_hbox)
2019-01-23 06:42:57 +08:00
example(hflow)
2019-01-23 07:26:36 +08:00
example(paragraph)
example(html_like)