CMake: Export the internal library and target properties
Will be used in a future commit to do target filtering. Change-Id: Iaf7039ff456ca11d94c44c6e12f63408d2aaa484 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 4801d4c708f27a1c29118b0dccd24d2e0d3d6ccc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
1da1e23704
commit
8b2112643b
@ -1425,6 +1425,7 @@ endfunction()
|
|||||||
# Needed to allow selectively applying certain flags via PlatformXInternal targets.
|
# Needed to allow selectively applying certain flags via PlatformXInternal targets.
|
||||||
function(qt_internal_mark_as_internal_library target)
|
function(qt_internal_mark_as_internal_library target)
|
||||||
set_target_properties(${target} PROPERTIES _qt_is_internal_library TRUE)
|
set_target_properties(${target} PROPERTIES _qt_is_internal_library TRUE)
|
||||||
|
set_property(TARGET "${target}" APPEND PROPERTY EXPORT_PROPERTIES "_qt_is_internal_library")
|
||||||
qt_internal_mark_as_internal_target(${target})
|
qt_internal_mark_as_internal_target(${target})
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
@ -1434,6 +1435,7 @@ endfunction()
|
|||||||
# Needed to allow selectively applying certain flags via PlatformXInternal targets.
|
# Needed to allow selectively applying certain flags via PlatformXInternal targets.
|
||||||
function(qt_internal_mark_as_internal_target target)
|
function(qt_internal_mark_as_internal_target target)
|
||||||
set_target_properties(${target} PROPERTIES _qt_is_internal_target TRUE)
|
set_target_properties(${target} PROPERTIES _qt_is_internal_target TRUE)
|
||||||
|
set_property(TARGET "${target}" APPEND PROPERTY EXPORT_PROPERTIES "_qt_is_internal_target")
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
# Marks a target with a property to skip it adding it as a dependency when building examples as
|
# Marks a target with a property to skip it adding it as a dependency when building examples as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user