mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
Qt/ladybird: Enable in Windows CI
This commit is contained in:
parent
f58298132b
commit
ed93551d59
Notes:
github-actions[bot]
2025-08-23 22:06:38 +00:00
Author: https://github.com/ayeteadoe
Commit: ed93551d59
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5229
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 39 additions and 5 deletions
|
|
@ -16,3 +16,25 @@ target_sources(ladybird PRIVATE
|
|||
)
|
||||
target_link_libraries(ladybird PRIVATE Qt::Core Qt::Gui Qt::Widgets)
|
||||
create_ladybird_bundle(ladybird)
|
||||
|
||||
if (WIN32)
|
||||
qt_generate_deploy_script(
|
||||
TARGET ladybird
|
||||
OUTPUT_SCRIPT ladybird_deploy_script
|
||||
CONTENT "
|
||||
qt_deploy_runtime_dependencies(
|
||||
EXECUTABLE $<TARGET_FILE:ladybird>
|
||||
PLUGINS_DIR $<TARGET_FILE_DIR:ladybird>
|
||||
)
|
||||
")
|
||||
|
||||
add_custom_command(TARGET ladybird POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-E copy_if_different
|
||||
$<TARGET_RUNTIME_DLLS:ladybird>
|
||||
$<TARGET_FILE_DIR:ladybird>
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-P ${ladybird_deploy_script}
|
||||
COMMAND_EXPAND_LISTS
|
||||
)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue