Crafter.Build/tests/IncrementalHeaderChange/fixture/lib/counter-limit.h
catbot 7975cb1df8
Some checks failed
CI / build-test-release (pull_request) Failing after 12m4s
test: header-change incrementality across every compile path
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.
2026-07-31 11:11:49 +00:00

8 lines
286 B
C

/* SPDX-License-Identifier: LGPL-3.0-only
SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® */
/* Included from counter.c — the C compile path keeps all of its dependencies in
#includes, so it has nothing but the depfile to go on. */
#pragma once
#define COUNTER_LIMIT 5