From 81cf8b68eca2636574f3d0a9fa1cf0b428c163e9 Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Sat, 1 Aug 2026 04:30:34 +0800 Subject: [Backend] Establish standalone build infrastructure Add the thin monorepo CMake entry point and an independently configurable backend project. Enforce the Clang/C++23 toolchain, expose Make/Ninja-neutral tests and developer checks, export an installable RCCBackend package, and introduce the first Support error abstraction. --- cmake/modules/RCCPreventInSourceBuild.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 cmake/modules/RCCPreventInSourceBuild.cmake (limited to 'cmake/modules/RCCPreventInSourceBuild.cmake') diff --git a/cmake/modules/RCCPreventInSourceBuild.cmake b/cmake/modules/RCCPreventInSourceBuild.cmake new file mode 100644 index 0000000..97b3392 --- /dev/null +++ b/cmake/modules/RCCPreventInSourceBuild.cmake @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) + message( + FATAL_ERROR + "RCC does not support in-source builds. Configure a separate build directory." + ) +endif() -- cgit v1.2.3