CMake: Export the internal library and target properties
Will be used in a future commit to do target filtering. Pick-to: 6.8 Change-Id: Iaf7039ff456ca11d94c44c6e12f63408d2aaa484 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
af60bdee8d
commit
4801d4c708
@ -1425,6 +1425,7 @@ endfunction()
|
||||
# Needed to allow selectively applying certain flags via PlatformXInternal targets.
|
||||
function(qt_internal_mark_as_internal_library target)
|
||||
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})
|
||||
endfunction()
|
||||
|
||||
@ -1434,6 +1435,7 @@ endfunction()
|
||||
# Needed to allow selectively applying certain flags via PlatformXInternal targets.
|
||||
function(qt_internal_mark_as_internal_target target)
|
||||
set_target_properties(${target} PROPERTIES _qt_is_internal_target TRUE)
|
||||
set_property(TARGET "${target}" APPEND PROPERTY EXPORT_PROPERTIES "_qt_is_internal_target")
|
||||
endfunction()
|
||||
|
||||
# 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