function(nw_example example)
    add_executable(nw_${example} ${example}.c)
    target_link_libraries(nw_${example} PRIVATE ${PROJECT_NAME})
    install(TARGETS nw_${example})
    target_compile_options(nw_${example} PRIVATE ${sup_cflags})
endfunction()

nw_example(minimal)
nw_example(proc_exit)
nw_example(file)
