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:
parent
f4066cb4ed
commit
66b494d760
6 changed files with 16 additions and 4 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue