set_project("example")
set_languages("c99", "cxx17")
add_rules("mode.debug", "mode.release")

if is_mode("debug") then
    set_symbols("debug")
    set_optimize("none")
end

add_includedirs(
    "include" -- APPLICATION
)
add_linkdirs(
)

-- rxi | log.c
target("log.c")
    set_kind("static")
    add_defines("LOG_USE_COLOR")
    add_files("third/log.c/log.c")

target("example")
    set_kind("binary")
    add_syslinks()
    add_files("src/*.cpp")
    add_deps("log.c")
