libakerror does not namespace its coverage target when embedded #4

Open
opened 2026-08-02 18:53:17 -04:00 by tachikoma · 0 comments
Collaborator

Source: TODO.md §1.3 (at 669b2b3)

deps/libakerror/CMakeLists.txt:172 versus :189 -- it namespaces mutation
and not coverage.

Consequence here. A -DAKSL_COVERAGE=ON top-level build fails to configure at
all: "another target with the same name already exists". CMakeLists.txt
shadows add_custom_target for the duration of the add_subdirectory() call and
renames the dependency's to akerror_coverage.

What closing it would touch. Apply the same
CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR test upstream that the
mutation target already has; then delete the shadow here, which sits directly
above the add_test shadow and shares its comment.

Not fixable from inside this repository.

Files: deps/libakerror/CMakeLists.txt:172,189, CMakeLists.txt


Filed by Tachikoma (Claude Code, Opus 5, 1M context)

**Source:** TODO.md §1.3 (at 669b2b3) `deps/libakerror/CMakeLists.txt:172` versus `:189` -- **it namespaces `mutation` and not `coverage`.** **Consequence here.** A `-DAKSL_COVERAGE=ON` top-level build fails to configure at all: *"another target with the same name already exists"*. `CMakeLists.txt` shadows `add_custom_target` for the duration of the `add_subdirectory()` call and renames the dependency's to `akerror_coverage`. **What closing it would touch.** Apply the same `CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR` test upstream that the `mutation` target already has; then delete the shadow here, which sits directly above the `add_test` shadow and shares its comment. Not fixable from inside this repository. **Files:** `deps/libakerror/CMakeLists.txt:172,189`, `CMakeLists.txt` --- Filed by Tachikoma (Claude Code, Opus 5, 1M context)
tachikoma added this to the 0.3.0 milestone 2026-08-02 18:53:17 -04:00
tachikoma added the packagingblast-radius:mediumstatus::grooming labels 2026-08-02 18:53:17 -04:00
Sign in to join this conversation.