mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
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.
14 lines
442 B
CMake
14 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()
|