mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- add Chinese card copy with ¥ amounts and CNY as the default currency - reorder the 4x2 card grid around Deployment, Distribute and Payout - remove leftover item min-heights and fix title/media/action alignment - compile generated UTF-8 page headers with MSVC /utf-8
24 lines
789 B
Lua
24 lines
789 B
Lua
target("doc-viewer")
|
|
set_default(false)
|
|
set_group("lcui-examples")
|
|
set_prefixdir("doc-viewer", {bindir = "."})
|
|
set_kind("binary")
|
|
set_rundir("dist")
|
|
add_deps("lcui")
|
|
add_files("app/**.c")
|
|
if is_plat("windows") then
|
|
add_cxflags("/utf-8", {tools = "cl"})
|
|
end
|
|
add_installfiles("dist/(assets/*)")
|
|
after_build(function (target)
|
|
local src = path.join(os.projectdir(), "docs", "examples", "assets", "attachment")
|
|
local dst = path.join(os.projectdir(), "examples", "doc-viewer", "dist", "assets", "attachment")
|
|
if os.isdir(src) then
|
|
os.mkdir(dst)
|
|
for _, file in ipairs(os.files(path.join(src, "*"))) do
|
|
os.cp(file, dst)
|
|
end
|
|
end
|
|
end)
|
|
set_warnings("all")
|