resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cmLocalVisualStudio10Generator.h
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3 #pragma once
4
5 #include "cmConfigure.h" // IWYU pragma: keep
6
7 #include <string>
8
9 #include "cmLocalVisualStudio7Generator.h"
10
11 class cmGeneratorTarget;
12 class cmGlobalGenerator;
13 class cmMakefile;
14
15 /** \class cmLocalVisualStudio10Generator
16  * \brief Write Visual Studio 10 project files.
17  *
18  * cmLocalVisualStudio10Generator produces a MSBuild project file for each
19  * target in its directory.
20  */
21 class cmLocalVisualStudio10Generator : public cmLocalVisualStudio7Generator
22 {
23 public:
24   //! Set cache only and recurse to false by default.
25   cmLocalVisualStudio10Generator(cmGlobalGenerator* gg, cmMakefile* mf);
26
27   virtual ~cmLocalVisualStudio10Generator();
28
29   void ReadAndStoreExternalGUID(const std::string& name,
30                                 const char* path) override;
31
32 protected:
33   const char* ReportErrorLabel() const override;
34   bool CustomCommandUseLocal() const override { return true; }
35
36 private:
37   void GenerateTarget(cmGeneratorTarget* target) override;
38 };