Commit 8055fc7
committed
COMP: Inline static DESCRIPTION in itk-module.cmake
Replace the set(DOCUMENTATION "...") + DESCRIPTION "${DOCUMENTATION}"
indirection with a static one-liner literal.
itk_module() is a CMake macro, so ${ARGN} re-tokenizes its arguments
and list-splits any embedded ";". A future edit adding a semicolon or
"[" to the DOCUMENTATION string would silently produce spurious
"Unknown argument" AUTHOR_WARNINGs from CMake/ITKModuleMacros.cmake:111
on every configure (see PRs #6220, #6245).
The v4 ingestion pipeline (PR #6204) enforces this via
sanitize-history.py:patch_dynamic_description.1 parent 2deed6b commit 8055fc7
1 file changed
Lines changed: 2 additions & 11 deletions
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | 2 | | |
13 | 3 | | |
14 | 4 | | |
| |||
19 | 9 | | |
20 | 10 | | |
21 | 11 | | |
22 | | - | |
| 12 | + | |
| 13 | + | |
23 | 14 | | |
0 commit comments