2026-04-12 17:47:32 +02:00
|
|
|
# Used to test internal symbols
|
|
|
|
|
lib_wlr_internal = static_library(
|
|
|
|
|
versioned_name + '-internal',
|
|
|
|
|
objects: lib_wlr.extract_all_objects(recursive: false),
|
|
|
|
|
dependencies: wlr_deps,
|
|
|
|
|
include_directories: [wlr_inc],
|
|
|
|
|
install: false,
|
|
|
|
|
)
|
|
|
|
|
|
2026-02-26 17:12:41 +01:00
|
|
|
test(
|
|
|
|
|
'box',
|
|
|
|
|
executable('test-box', 'test_box.c', dependencies: wlroots),
|
|
|
|
|
)
|
|
|
|
|
|
2026-04-12 17:47:32 +02:00
|
|
|
if features.get('vulkan-renderer')
|
|
|
|
|
test(
|
|
|
|
|
'vulkan_stage_buffer',
|
|
|
|
|
executable(
|
|
|
|
|
'test-vulkan-stage-buffer',
|
|
|
|
|
'test_vulkan_stage_buffer.c',
|
|
|
|
|
link_with: lib_wlr_internal,
|
|
|
|
|
dependencies: wlr_deps,
|
|
|
|
|
include_directories: wlr_inc,
|
|
|
|
|
),
|
|
|
|
|
)
|
|
|
|
|
endif
|
|
|
|
|
|
2026-02-26 17:12:41 +01:00
|
|
|
benchmark(
|
|
|
|
|
'scene',
|
|
|
|
|
executable('bench-scene', 'bench_scene.c', dependencies: wlroots),
|
|
|
|
|
timeout: 30,
|
|
|
|
|
)
|