mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:57:45 +00:00
LibVideo: Add LibVideo test to Lagom
This commit is contained in:
parent
d67231312e
commit
bbc053fa56
1 changed files with 15 additions and 0 deletions
|
@ -541,6 +541,14 @@ if (BUILD_LAGOM)
|
||||||
)
|
)
|
||||||
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|
target_compile_definitions(LibUnicode PRIVATE ENABLE_UNICODE_DATA=$<BOOL:${ENABLE_UNICODE_DATABASE_DOWNLOAD}>)
|
||||||
|
|
||||||
|
# Video
|
||||||
|
file(GLOB LIBVIDEO_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibVideo/*.cpp")
|
||||||
|
file(GLOB LIBVIDEO_SUBDIR_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibVideo/*/*.cpp")
|
||||||
|
lagom_lib(Video video
|
||||||
|
SOURCES ${LIBVIDEO_SOURCES} ${LIBVIDEO_SUBDIR_SOURCES}
|
||||||
|
LIBS LibAudio LibIPC LibGfx
|
||||||
|
)
|
||||||
|
|
||||||
# WASM
|
# WASM
|
||||||
file(GLOB LIBWASM_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibWasm/*/*.cpp")
|
file(GLOB LIBWASM_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibWasm/*/*.cpp")
|
||||||
lagom_lib(Wasm wasm
|
lagom_lib(Wasm wasm
|
||||||
|
@ -790,6 +798,13 @@ if (BUILD_LAGOM)
|
||||||
lagom_test(${source} LIBS LibUnicode)
|
lagom_test(${source} LIBS LibUnicode)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
# Video
|
||||||
|
file(GLOB LIBVIDEO_TEST_SOURCES CONFIGURE_DEPENDS "../../Tests/LibVideo/*.cpp")
|
||||||
|
foreach(source ${LIBVIDEO_TEST_SOURCES})
|
||||||
|
lagom_test(${source} LIBS LibVideo
|
||||||
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibVideo)
|
||||||
|
endforeach()
|
||||||
|
|
||||||
# JavaScriptTestRunner + LibTest tests
|
# JavaScriptTestRunner + LibTest tests
|
||||||
# test-js
|
# test-js
|
||||||
add_executable(test-js_lagom
|
add_executable(test-js_lagom
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue