Files
RedBear-OS/local/recipes/qt/qtbase/source/cmake/QtTransitiveExtras.cmake.in
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

39 lines
1.9 KiB
CMake

# Copyright (C) 2025 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# This file sets the transitive properties supported by Qt Libraries.
if(NOT QT_NO_CREATE_TARGETS AND CMAKE_VERSION VERSION_GREATER_EQUAL 3.30)
foreach(_qt_@target@_transitive_property_type COMPILE LINK)
string(TOLOWER "${_qt_@target@_transitive_property_type}"
_qt_@target@_transitive_property_type_lower)
get_target_property(_qt_@target@_transitive_properties @QT_CMAKE_EXPORT_NAMESPACE@::@target@
_qt_transitive_${_qt_@target@_transitive_property_type_lower}_properties)
if(NOT _qt_@target@_transitive_properties)
continue()
endif()
foreach(_qt_@target@_transitive_property IN LISTS _qt_@target@_transitive_properties)
string(TOLOWER "_qt_internal_${_qt_@target@_transitive_property}"
_qt_@target@_transitive_property_internal)
get_target_property(_qt_@target@_transitive_property_value
@QT_CMAKE_EXPORT_NAMESPACE@::@target@ ${_qt_@target@_transitive_property_internal})
if(_qt_@target@_transitive_property_value)
_qt_internal_add_transitive_property(@QT_CMAKE_EXPORT_NAMESPACE@::@target@
${_qt_@target@_transitive_property_type} ${_qt_@target@_transitive_property})
set_property(TARGET @QT_CMAKE_EXPORT_NAMESPACE@::@target@ PROPERTY
INTERFACE_${_qt_@target@_transitive_property}
"${_qt_@target@_transitive_property_value}")
endif()
endforeach()
endforeach()
unset(_qt_@target@_transitive_property_value)
unset(_qt_@target@_transitive_property_internal)
unset(_qt_@target@_transitive_property)
unset(_qt_@target@_transitive_properties)
unset(_qt_@target@_transitive_property_type_lower)
unset(_qt_@target@_transitive_property_type)
endif()