2019-01-07 01:53:02 +08:00
|
|
|
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)
|
2019-01-07 01:53:02 +08:00
|
|
|
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)
|
2019-01-05 09:03:49 +08:00
|
|
|
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)
|
2019-01-23 09:16:00 +08:00
|
|
|
example(html_like)
|