Skip to content

Commit

Permalink
ENH: Mark most CMake variables as advanced
Browse files Browse the repository at this point in the history
  • Loading branch information
Leengit authored and dzenanz committed Mar 19, 2021
1 parent b71b85f commit 4c785c2
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
54 changes: 54 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,12 @@ else()
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${NO_WRAP_CMAKE_LIBRARY_OUTPUT_DIRECTORY} CACHE PATH "Shared library directory")
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${NO_WRAP_CMAKE_RUNTIME_OUTPUT_DIRECTORY} CACHE PATH "Runtime library directory")
endif()
mark_as_advanced(FORCE
CMAKE_RUNTIME_OUTPUT_DIRECTORY
CMAKE_LIBRARY_OUTPUT_DIRECTORY
NO_WRAP_CMAKE_LIBRARY_OUTPUT_DIRECTORY
NO_WRAP_CMAKE_RUNTIME_OUTPUT_DIRECTORY
Python3_ROOT_DIR)
# Setup build locations for shared libraries ----STOP

if(CMAKE_CONFIGURATION_TYPES AND ITK_WRAPPING)
Expand Down Expand Up @@ -643,3 +649,51 @@ add_subdirectory(Utilities/Doxygen)
# all tests have been added that reference the group, so we put it last.
include(ExternalData)
ExternalData_Add_Target(ITKData)

mark_as_advanced(FORCE
Module_AdaptiveDenoising
Module_AnalyzeObjectLabelMap
Module_AnisotropicDiffusionLBR
Module_BioCell
Module_BoneEnhancement
Module_BoneMorphometry
Module_BSplineGradient
Module_Cuberille
Module_FixedPointInverseDisplacementField
Module_GenericLabelInterpolator
Module_HigherOrderAccurateGradient
Module_IOFDF
Module_IOMeshSTL
Module_IOOpenSlide
Module_IOScanco
Module_IOTransformDCMTK
Module_IsotropicWavelets
Module_LabelErodeDilate
Module_LesionSizingToolkit
Module_MeshNoise
Module_MGHIO
Module_MinimalPathExtraction
Module_Montage
Module_MorphologicalContourInterpolation
Module_MultipleImageIterator
Module_ParabolicMorphology
Module_PerformanceBenchmarking
Module_PhaseSymmetry
Module_PolarTransform
Module_PrincipalComponentsAnalysis
Module_RLEImage
Module_RTK
Module_SCIFIO
Module_SimpleITKFilters
Module_SkullStrip
Module_SmoothingRecursiveYvvGaussianFilter
Module_SphinxExamples
Module_SplitComponents
Module_Strain
Module_SubdivisionQuadEdgeMeshFilter
Module_TextureFeatures
Module_Thickness3D
Module_TotalVariation
Module_TubeTK
Module_TwoProjectionRegistration
Module_VariationalRegistration)
8 changes: 7 additions & 1 deletion Modules/Remote/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include(ITKModuleRemote)

set(ITK_MINIMUM_COMPLIANCE_LEVEL "3" CACHE STRING "Minimum compliance level [5,4,3,2,1,0] for selecting ITK modules.")
set_property(CACHE PROPERTY STRINGS ITK_MINIMUM_COMPLIANCE_LEVEL "5" "4" "3" "2" "1" "0")
mark_as_advanced(CLEAR ITK_MINIMUM_COMPLIANCE_LEVEL)
mark_as_advanced(FORCE ITK_MINIMUM_COMPLIANCE_LEVEL)

file(GLOB remotes "*.remote.cmake")
foreach(remote_module ${remotes})
Expand All @@ -19,3 +19,9 @@ if(Module_ITKDeprecated)
include(${remote_module})
endforeach()
endif()

mark_as_advanced(FORCE
DEFAULT_API_VERSION
HDF5_BATCH_H5DETECT
HDF5_ENABLE_HDFS
HDF5_ENABLE_ROS3_VFD)

0 comments on commit 4c785c2

Please sign in to comment.