mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
391beef707
This will help a lot with developing chromes for different UI frameworks where we can see which helper classes and processes are really using Qt vs just using it to get at helper data. As a bonus, remove Qt dependency from WebDriver.
21 lines
826 B
CMake
21 lines
826 B
CMake
set(WEBDRIVER_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/WebDriver)
|
|
|
|
set(SOURCES
|
|
${WEBDRIVER_SOURCE_DIR}/Client.cpp
|
|
${WEBDRIVER_SOURCE_DIR}/Session.cpp
|
|
${WEBDRIVER_SOURCE_DIR}/WebContentConnection.cpp
|
|
../Utilities.cpp
|
|
main.cpp
|
|
)
|
|
|
|
add_executable(WebDriver ${SOURCES})
|
|
|
|
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..)
|
|
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
|
|
target_include_directories(WebDriver PRIVATE ${SERENITY_SOURCE_DIR}/Userland)
|
|
target_include_directories(WebDriver PRIVATE ${SERENITY_SOURCE_DIR}/Userland/Services)
|
|
target_link_libraries(WebDriver PRIVATE LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket)
|
|
add_dependencies(WebDriver headless-browser)
|
|
if (ANDROID)
|
|
link_android_libs(WebDriver)
|
|
endif()
|