build: add qs_add_link_dependencies

Further inspection as to what libraries actually require which others
will be required before this can be used as a hint for shared builds.
This commit is contained in:
outfoxxed committed 2024-11-19 13:58:34 -08:00
1 parent f4066cb4ed
commit 66b494d760
6 files changed
+16 -4

No files matched your search

+9
View File
@@ -1,3 +1,12 @@
# Adds a dependency hint to the link order, but does not block build on the dependency.
function (qs_add_link_dependencies target)
set_property(
TARGET ${target}
APPEND PROPERTY INTERFACE_LINK_LIBRARIES
${ARGN}
)
endfunction()
function (qs_append_qmldir target text)
get_property(qmldir_content TARGET ${target} PROPERTY _qt_internal_qmldir_content)