mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
- Remove per-lib set_project() calls that overrode the global lcui
project name; xmake show now correctly reports the project as lcui.
- Move per-lib set_version() into the corresponding target() block so
each sub-library keeps an independent version usable for standalone
packaging.
- Add set_default(false) and set_group(examples) to all pandagl
examples so they are no longer picked up by xmake package.
- Rename targets to use dashes for consistency:
pandagl_cairo_example -> pandagl-cairo-example
preview_block_layout -> preview-block-layout
preview_flex_layout -> preview-flex-layout
preview_scrollbar -> preview-scrollbar
preview_widget_opacity -> preview-widget-opacity
- Bump yutil submodule to drop its set_project() call as well.
19 lines
469 B
Lua
19 lines
469 B
Lua
local previews = {
|
|
"flex_layout",
|
|
"block_layout",
|
|
"widget_opacity",
|
|
"scrollbar"
|
|
}
|
|
|
|
for _, topic in ipairs(previews) do
|
|
target("preview-" .. topic:gsub("_", "-"))
|
|
set_default(false)
|
|
set_kind("binary")
|
|
set_group("previews")
|
|
set_rundir("../fixtures")
|
|
add_includedirs("../helpers")
|
|
add_files("preview_" .. topic .. ".c",
|
|
"../scenes/" .. topic .. "_scene.c")
|
|
add_deps("lcui")
|
|
end
|