function(example name) add_executable(${name} ${name}.cpp) target_link_libraries(${name} PUBLIC dom) endfunction(example) example(blink) example(bold) example(color) example(dbox) example(dim) example(frame) example(gauge) example(inverted) example(package_manager) example(separator) example(underlined) example(style_gallery) example(vbox_hbox)