summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-01 18:59:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-01 18:59:53 (GMT)
commit5ec03c93fc92149708b4ec9d19384a015d845f8e (patch)
treed856299ffcce91ec04c1188b21eef4a695032a78 /Source/CPack
parent88e1c54a7cd3213d87143558a8fddf39e7fdccc0 (diff)
parentad453f0502fe5d95ca1f050cdf52c2d32a892988 (diff)
downloadCMake-5ec03c93fc92149708b4ec9d19384a015d845f8e.zip
CMake-5ec03c93fc92149708b4ec9d19384a015d845f8e.tar.gz
CMake-5ec03c93fc92149708b4ec9d19384a015d845f8e.tar.bz2
Merge topic 'wix-disabled-components'
ad453f05 CPackWIX: Support CPACK_COMPONENT_<compName>_DISABLED 6f108f84 CPackComponent: Document the *_HIDDEN and *_DISABLED variables
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx b/Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx
index 16dd0ab..1747b62 100644
--- a/Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx
+++ b/Source/CPack/WiX/cmWIXFeaturesSourceWriter.cxx
@@ -86,6 +86,10 @@ void cmWIXFeaturesSourceWriter::EmitFeatureForComponent(
AddAttribute("Display", "hidden");
}
+ if (component.IsDisabledByDefault) {
+ AddAttribute("Level", "2");
+ }
+
EndElement("Feature");
}