mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-02 04:20:28 +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.
32 lines
1.1 KiB
CMake
32 lines
1.1 KiB
CMake
serenity_testjs_test(test-js.cpp test-js LIBS LibLocale)
|
|
|
|
install(TARGETS test-js RUNTIME DESTINATION bin OPTIONAL)
|
|
link_with_locale_data(test-js)
|
|
|
|
serenity_test(test-invalid-unicode-js.cpp LibJS LIBS LibJS LibLocale)
|
|
link_with_locale_data(test-invalid-unicode-js)
|
|
|
|
serenity_test(test-bytecode-js.cpp LibJS LIBS LibJS LibLocale)
|
|
link_with_locale_data(test-bytecode-js)
|
|
|
|
serenity_test(test-value-js.cpp LibJS LIBS LibJS LibLocale)
|
|
link_with_locale_data(test-value-js)
|
|
|
|
serenity_component(
|
|
test262-runner
|
|
TARGETS test262-runner
|
|
)
|
|
add_executable(test262-runner test262-runner.cpp)
|
|
target_link_libraries(test262-runner PRIVATE LibJS LibCore LibLocale)
|
|
serenity_set_implicit_links(test262-runner)
|
|
link_with_locale_data(test262-runner)
|
|
install(TARGETS test262-runner RUNTIME DESTINATION bin OPTIONAL)
|
|
|
|
serenity_component(
|
|
test-test262
|
|
TARGETS test-test262
|
|
)
|
|
add_executable(test-test262 test-test262.cpp)
|
|
target_link_libraries(test-test262 PRIVATE LibMain LibCore)
|
|
serenity_set_implicit_links(test-test262)
|
|
install(TARGETS test-test262 RUNTIME DESTINATION bin OPTIONAL)
|