Commit 44f1bac
committed
DOC: Add factory meta-module guidance for external project test drivers
Document the preferred pattern for external projects (RTK,
BRAINSTools, remote modules) to register FFT, IO, and other
factory backends in their test drivers: link against
ITK::ITKFFTImageFilterInit instead of manually calling
RegisterFactory() for each backend.
This was identified during review of PR #6073 — Brad Lowekamp
noted that target_link_libraries(... PRIVATE
ITK::ITKFFTImageFilterInit) is more maintainable than copying
explicit factory registration code.1 parent 8483b54 commit 44f1bac
1 file changed
Lines changed: 30 additions & 0 deletions
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
399 | 429 | | |
400 | 430 | | |
401 | 431 | | |
| |||
0 commit comments