2022-11-14 20:09:14 +03:00
|
|
|
set(WEBDRIVER_SOURCE_DIR ${SERENITY_SOURCE_DIR}/Userland/Services/WebDriver)
|
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
${WEBDRIVER_SOURCE_DIR}/Client.cpp
|
2022-12-15 17:18:52 +03:00
|
|
|
${WEBDRIVER_SOURCE_DIR}/Session.cpp
|
2022-11-14 20:09:14 +03:00
|
|
|
${WEBDRIVER_SOURCE_DIR}/WebContentConnection.cpp
|
2022-11-22 16:09:55 +03:00
|
|
|
../Utilities.cpp
|
2022-11-14 20:09:14 +03:00
|
|
|
main.cpp
|
|
|
|
)
|
|
|
|
|
2023-08-05 19:42:26 +03:00
|
|
|
add_executable(WebDriver ${SOURCES})
|
2022-11-14 20:09:14 +03:00
|
|
|
|
|
|
|
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)
|
2023-11-08 21:47:41 +03:00
|
|
|
target_link_libraries(WebDriver PRIVATE LibCore LibFileSystem LibGfx LibIPC LibJS LibMain LibWeb LibWebSocket LibWebView)
|
2022-11-22 16:09:55 +03:00
|
|
|
add_dependencies(WebDriver headless-browser)
|