mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
These layout tests need the generated global.css.h and the doc-viewer home-grid component, so they do not belong in the core lcui-tests binary. Move them to examples/doc-viewer/tests, keep their fixture with the tests, and generate the doc-viewer sources before running xmake test so a fresh checkout has global.css.h.
13 lines
343 B
Lua
13 lines
343 B
Lua
target("lcui-tests")
|
|
set_default(false)
|
|
set_kind("binary")
|
|
set_group("tests")
|
|
set_rundir("fixtures")
|
|
add_includedirs("helpers")
|
|
add_files("main.c", "integration/*.c", "scenes/*.c")
|
|
add_deps("lcui", "ctest")
|
|
add_rules("tests.runnable")
|
|
add_tests("default", {group = "tests"})
|
|
|
|
includes("previews/xmake.lua")
|