5 Commits

Author SHA1 Message Date
portersky 6227ddf5df fix: clear Unity INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
CI / macOS (push) Has been cancelled
CI / Windows / Clang (push) Has been cancelled
Unity sets INTERFACE_SYSTEM_INCLUDE_DIRECTORIES to a path inside
the build tree, which CMake rejects on newer versions. Clear it
after FetchContent; the path remains in INTERFACE_INCLUDE_DIRECTORIES.
2026-05-10 01:38:49 +02:00
portersky 8df5eaa4e8 fix: use xcrun for llvm-cov on AppleClang
AppleClang ships llvm-cov inside Xcode and it is not on PATH,
so find_program fails. Use xcrun llvm-cov gcov via a wrapper
script instead.
2026-05-10 01:35:38 +02:00
portersky 8e0f4fc8d0 feat: add coverage and command doc rule
Add Coverage.cmake with gcovr integration, detecting Clang vs
GCC and wrapping llvm-cov gcov in a build-dir script to handle
paths with spaces on Windows. Update README and AGENTS.md with
the new one-command-per-block documentation rule.
2026-05-10 00:53:03 +02:00
portersky cd19cc14c0 feat: add Unity color and check target
Enable UNITY_OUTPUT_COLOR and UNITY_INCLUDE_PRINT_FORMATTED via
compile definitions on the unity target so colors propagate to all
test suites automatically.

Add a 'check' custom target that builds all suites and runs CTest
with --output-on-failure and USES_TERMINAL, keeping ANSI colors
alive through Ninja's buffering.
2026-05-09 21:32:58 +02:00
portersky bee8424782 Inital commit 2026-05-09 20:32:55 +02:00