/* 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"56/** \class cmCPackNuGetGenerator7* \brief A generator for RPM packages8*/9class cmCPackNuGetGenerator : public cmCPackGenerator10{11public:12cmCPackTypeMacro(cmCPackNuGetGenerator, cmCPackGenerator);1314// NOTE In fact, it is possible to have NuGet not only for Windows...15// https://docs.microsoft.com/en-us/nuget/install-nuget-client-tools16static bool CanGenerate() { return true; }1718protected:19bool SupportsComponentInstallation() const override;20int PackageFiles() override;2122char const* GetOutputExtension() override { return ".nupkg"; }23bool SupportsAbsoluteDestination() const override { return false; }24/**25* The method used to prepare variables when component26* install is used.27*/28void SetupGroupComponentVariables(bool ignoreGroup);29/**30* Populate \c packageFileNames vector of built packages.31*/32void AddGeneratedPackageNames();33};343536