Skip to content

Commit c51445a

Browse files
committed
COMP: Address PrincipalComponentsAnalysis review concerns
itk-module.cmake: pass DOCUMENTATION through to DESCRIPTION (was overwritten by a literal string). CMakeLists.txt: drop the cmake_policy(CMP0003) shim, the itk_module_examples() call, and the doc-build option block — examples and doc/ were intentionally not ingested. LICENSE: remove the per-module copy; ITK's root LICENSE applies.
1 parent 101932c commit c51445a

3 files changed

Lines changed: 2 additions & 222 deletions

File tree

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
if(COMMAND CMAKE_POLICY)
2-
cmake_policy(SET CMP0003 NEW)
3-
endif(COMMAND CMAKE_POLICY)
4-
5-
set(PCA PrincipalComponentsAnalysis)
6-
project(${PCA})
1+
project(PrincipalComponentsAnalysis)
72

83
itk_module_impl()
9-
10-
itk_module_examples()
11-
12-
cmake_dependent_option(
13-
Module_${PCA}_BUILD_DOCUMENTATION
14-
"Generate documentation from LaTeX files, source code examples and result screenshots"
15-
OFF
16-
"BUILD_DOCUMENTATION"
17-
OFF
18-
)
19-
if(Module_${PCA}_BUILD_DOCUMENTATION)
20-
add_subdirectory(doc)
21-
endif()

Modules/Numerics/PrincipalComponentsAnalysis/LICENSE

Lines changed: 0 additions & 202 deletions
This file was deleted.

Modules/Numerics/PrincipalComponentsAnalysis/itk-module.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ itk_module(
1414
TEST_DEPENDS
1515
ITKTestKernel
1616
EXCLUDE_FROM_DEFAULT
17-
DESCRIPTION "Module ingested from upstream."
17+
DESCRIPTION "${DOCUMENTATION}"
1818
)

0 commit comments

Comments
 (0)