mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
13 lines
375 B
Lua
13 lines
375 B
Lua
target("libtimer")
|
|
set_kind("$(kind)")
|
|
add_files("src/*.c")
|
|
add_deps("yutil", "libthread")
|
|
set_configdir("include")
|
|
add_configfiles("src/timer.h.in")
|
|
add_headerfiles("include/timer.h")
|
|
if is_kind("static") then
|
|
set_configvar("LIBTIMER_STATIC_BUILD", 1)
|
|
elseif is_plat("windows") then
|
|
add_defines("LIBTIMER_DLL_EXPORT")
|
|
end
|