2024-06-03 12:40:19 +00:00
|
|
|
set(WEBDRIVER_SOURCE_DIR ${LADYBIRD_SOURCE_DIR}/Userland/Services/WebDriver)
|
2022-11-14 17:09:14 +00:00
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
${WEBDRIVER_SOURCE_DIR}/Client.cpp
|
2022-12-15 14:18:52 +00:00
|
|
|
${WEBDRIVER_SOURCE_DIR}/Session.cpp
|
2022-11-14 17:09:14 +00:00
|
|
|
${WEBDRIVER_SOURCE_DIR}/WebContentConnection.cpp
|
2022-11-22 13:09:55 +00:00
|
|
|
../Utilities.cpp
|
2022-11-14 17:09:14 +00:00
|
|
|
main.cpp
|
|
|
|
)
|
|
|
|
|
2023-08-05 16:42:26 +00:00
|
|
|
add_executable(WebDriver ${SOURCES})
|
2022-11-14 17:09:14 +00:00
|
|
|
|
|
|
|
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/..)
|
|
|
|
target_include_directories(WebDriver PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/..)
|
2024-06-03 12:40:19 +00:00
|
|
|
target_include_directories(WebDriver PRIVATE ${LADYBIRD_SOURCE_DIR}/Userland)
|
|
|
|
target_include_directories(WebDriver PRIVATE ${LADYBIRD_SOURCE_DIR}/Userland/Services)
|
2023-11-08 18:47:41 +00:00
|
|
|
target_link_libraries(WebDriver PRIVATE LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket LibWebView)
|
2022-11-22 13:09:55 +00:00
|
|
|
add_dependencies(WebDriver headless-browser)
|