mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 12:46:06 +00:00
CMake: Build LibTest[Main] in Libraries/LibTest not Meta/Lagom
As LibTest was not specified in TEST_DIRECTORIES, the existing Libraries/LibTest subdirectory was not actually included during configuration.
This commit is contained in:
parent
7280ed6312
commit
d44ac0874f
Notes:
github-actions[bot]
2025-05-14 08:06:42 +00:00
Author: https://github.com/ayeteadoe
Commit: d44ac0874f
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4718
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 8 additions and 27 deletions
|
@ -1,16 +1,13 @@
|
|||
serenity_install_sources("Libraries/LibTest")
|
||||
add_library(LibTestMain OBJECT TestMain.cpp)
|
||||
target_link_libraries(LibTestMain PUBLIC GenericClangPlugin)
|
||||
|
||||
add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
|
||||
|
||||
set(SOURCES
|
||||
TestSuite.cpp
|
||||
CrashTest.cpp
|
||||
)
|
||||
|
||||
serenity_lib(LibTest test)
|
||||
|
||||
add_library(LibTestMain OBJECT TestMain.cpp)
|
||||
add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
|
||||
|
||||
if (SERENITYOS)
|
||||
add_dependencies(LibTestMain install_libc_headers)
|
||||
add_dependencies(JavaScriptTestRunnerMain install_libc_headers)
|
||||
endif()
|
||||
add_library(LibTest ${SOURCES})
|
||||
target_link_libraries(LibTest PRIVATE AK LibCore LibFileSystem)
|
||||
set_target_properties(LibTest PROPERTIES OUTPUT_NAME lagom-test)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue