Commit 0af32ec
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 582f7e8 commit 0af32ec
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 1 | | |
9 | 2 | | |
10 | 3 | | |
| |||
18 | 11 | | |
19 | 12 | | |
20 | 13 | | |
21 | | - | |
| 14 | + | |
| 15 | + | |
22 | 16 | | |
23 | 17 | | |
0 commit comments