mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
versions.json is now the single source of truth; scripts/sync-versions.mjs keeps xmake descriptors, tracked version headers and package.json in sync. Sub-library versions are aligned with the published 1.0.0 packages. C11 is set at the project level, and _GNU_SOURCE is defined on POSIX so strict C11 still exposes clock_gettime, strdup and recursive pthread mutexes.
13 lines
259 B
Lua
13 lines
259 B
Lua
add_rules("mode.debug", "mode.release")
|
|
add_includedirs("include")
|
|
|
|
target("ctest")
|
|
set_version("1.0.0")
|
|
set_kind("static")
|
|
add_files("src/*.c")
|
|
add_headerfiles("include/ctest.h")
|
|
|
|
if os.isdir("tests") then
|
|
includes("tests/xmake.lua")
|
|
end
|