Some checks failed
CI / build-test-release (pull_request) Failing after 12m4s
One header per pass, asserting both directions — the objects that include it recompile, the ones that don't are untouched — then running the binary, since "was recompiled" only matters if the program agrees with itself. Covers the module interface (a macro in its global module fragment decides an exported class's layout), the implementation unit, a C source, an idle rebuild that must recompile nothing, and an object whose depfile is gone. The implementation unit's header has a space in its name so the depfile spells it escaped.
12 lines
504 B
C
12 lines
504 B
C
// SPDX-License-Identifier: LGPL-3.0-only
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
|
|
|
// Included from Widget.cpp, the module's implementation unit — nothing else
|
|
// sees it, so an edit here must rebuild that one object and nothing more.
|
|
//
|
|
// The space in the filename is deliberate: clang escapes it as `widget\ count.h`
|
|
// in the depfile, so a build that reads depfiles has to unescape make syntax
|
|
// rather than splitting the line on whitespace.
|
|
#pragma once
|
|
|
|
#define WIDGET_COUNT 1
|