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-20 05:06:05 +08:00
|
|
|
example(border)
|
2020-09-02 17:32:22 +08:00
|
|
|
example(color_gallery)
|
|
|
|
example(dbox)
|
2019-01-03 07:35:59 +08:00
|
|
|
example(gauge)
|
2020-09-02 17:32:22 +08:00
|
|
|
example(graph)
|
|
|
|
example(hflow)
|
|
|
|
example(html_like)
|
2019-01-05 09:03:49 +08:00
|
|
|
example(package_manager)
|
2020-09-02 17:32:22 +08:00
|
|
|
example(paragraph)
|
2019-01-03 05:33:59 +08:00
|
|
|
example(separator)
|
2020-09-02 17:32:22 +08:00
|
|
|
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)
|
2020-09-02 17:32:22 +08:00
|
|
|
example(color_truecolor_RGB)
|
|
|
|
example(color_truecolor_HSV)
|
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)
|