mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
CMake: Add Windows executable helper function
The function currently has 2 purposes: (1) To copy dependent dlls for executables to output binary directory. This ensures that these helper processes can be ran after a build given not all DLLs from vcpkg libs get implicitly copied to the bin folder. (2) Allow fully background and/or GUI processes to use the Windows Subsystem. This prevents unnecessarily launching a console for the process, as we either require no user interaction or the user interaction is all handled in the GUI.
This commit is contained in:
parent
20f9510687
commit
95f239a357
Notes:
github-actions[bot]
2025-10-30 03:09:17 +00:00
Author: https://github.com/ayeteadoe
Commit: 95f239a357
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5981
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/R-Goc
Reviewed-by: https://github.com/sakgoyal
Reviewed-by: https://github.com/stasoid
8 changed files with 39 additions and 5 deletions
|
|
@ -16,10 +16,10 @@ target_sources(ladybird PRIVATE
|
|||
ladybird.qrc
|
||||
)
|
||||
target_link_libraries(ladybird PRIVATE Qt::Core Qt::Gui Qt::Widgets)
|
||||
lagom_copy_runtime_dlls(ladybird)
|
||||
create_ladybird_bundle(ladybird)
|
||||
|
||||
if (WIN32)
|
||||
lagom_windows_bin(ladybird)
|
||||
qt_generate_deploy_script(
|
||||
TARGET ladybird
|
||||
OUTPUT_SCRIPT ladybird_deploy_script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue