mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:07:44 +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}>)
|
||||
|
||||
# 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
|
||||
file(GLOB LIBWASM_SOURCES CONFIGURE_DEPENDS "../../Userland/Libraries/LibWasm/*/*.cpp")
|
||||
lagom_lib(Wasm wasm
|
||||
|
@ -790,6 +798,13 @@ if (BUILD_LAGOM)
|
|||
lagom_test(${source} LIBS LibUnicode)
|
||||
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
|
||||
# test-js
|
||||
add_executable(test-js_lagom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue