mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
This commit allows test-js to build and run, also in CI. Co-authored-by: Andrew Kaster <andrew@ladybird.org>
15 lines
441 B
CMake
15 lines
441 B
CMake
add_library(LibTestMain OBJECT TestMain.cpp AssertionHandler.cpp)
|
|
|
|
target_link_libraries(LibTestMain PUBLIC GenericClangPlugin)
|
|
|
|
set(SOURCES
|
|
TestSuite.cpp
|
|
)
|
|
|
|
add_library(LibTest ${SOURCES})
|
|
lagom_generate_export_header(LibTest test)
|
|
target_link_libraries(LibTest PRIVATE AK LibCore LibFileSystem)
|
|
set_target_properties(LibTest PROPERTIES OUTPUT_NAME lagom-test)
|
|
|
|
add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
|