mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-29 02:50:26 +00:00
ce2f1b845f
Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
13 lines
442 B
CMake
13 lines
442 B
CMake
set(TEST_SOURCES
|
|
test-run-ls.cpp
|
|
ue-write-oob.cpp
|
|
)
|
|
|
|
# FIXME: These tests do not use LibTest
|
|
foreach(source IN LISTS TEST_SOURCES)
|
|
get_filename_component(test_name "${source}" NAME_WE)
|
|
add_executable("${test_name}" "${source}")
|
|
target_link_libraries("${test_name}" PRIVATE LibCore)
|
|
serenity_set_implicit_links("${test_name}")
|
|
install(TARGETS "${test_name}" RUNTIME DESTINATION usr/Tests/UserEmulator)
|
|
endforeach()
|