Files
RedBear-OS/recipes/wip/qt/qtscxml/source/cmake/QtRepoSetup.cmake
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

17 lines
510 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
function(add_qt_statecharts target)
# Don't try to add statecharts when cross compiling, and the target is actually a host target
# (like a tool).
qt_is_imported_target("${target}" is_imported)
if(is_imported)
return()
endif()
cmake_parse_arguments(PARSE_ARGV 1 arg "" "" "FILES")
_qt_internal_validate_all_args_are_parsed(arg)
qt6_add_statecharts(${target} ${arg_FILES})
endfunction()