Commit c20bdff
committed
COMP: Skip dot-directories when scanning for ITK modules
GLOB_RECURSE matches itk-module.cmake at any depth, so a nested source
tree under a dot-directory is absorbed as a set of duplicate modules.
Dot-directories hold tool state by convention -- git worktrees, editor
and agent directories, and environment or cache trees such as the
in-source .pixi directory created by ITK's own build tooling -- and
.gitignore already declares several of them non-source.
One affected tree reported 984 modules where 204 exist, and failed
building the stale duplicates.1 parent 3ae346c commit c20bdff
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
0 commit comments