Files
LCUI/lib/ctest/xmake.lua
T
Liu c6cb7da777 feat(ctest): add suite filter, list and CTEST_MAIN macro
Introduce ctest_suite_t, ctest_parse_args, ctest_run_suites and CTEST_MAIN macro to standardize test binary entry points. Support --grep / --grep= / --list / --interactive / --help. Add lib/ctest/tests/ for self-tests covering str converters and grep filter logic.
2026-08-05 22:41:10 +08:00

13 lines
256 B
Lua

add_rules("mode.debug", "mode.release")
add_includedirs("include")
target("ctest")
set_kind("static")
add_files("src/*.c")
add_deps("yutil")
add_headerfiles("include/ctest.h")
if os.isdir("tests") then
includes("tests/xmake.lua")
end