Path: blob/master/Source/CPack/WiX/cmWIXFeaturesSourceWriter.h
5021 views
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying1file LICENSE.rst or https://cmake.org/licensing for details. */2#pragma once34#include "cmCPackGenerator.h"5#include "cmWIXPatch.h"6#include "cmWIXSourceWriter.h"78/** \class cmWIXFeaturesSourceWriter9* \brief Helper class to generate features.wxs10*/11class cmWIXFeaturesSourceWriter : public cmWIXSourceWriter12{13public:14cmWIXFeaturesSourceWriter(unsigned long wixVersion, cmCPackLog* logger,15std::string const& filename,16GuidType componentGuidType);1718void CreateCMakePackageRegistryEntry(std::string const& package,19std::string const& upgradeGuid);2021void EmitFeatureForComponentGroup(cmCPackComponentGroup const& group,22cmWIXPatch& patch);2324void EmitFeatureForComponent(cmCPackComponent const& component,25cmWIXPatch& patch);2627void EmitComponentRef(std::string const& id);28};293031