cmake/Source/cmLocalVisualStudio10Generator.h

39 lines
1.1 KiB
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
2021-09-14 00:13:48 +02:00
#pragma once
2009-10-04 10:30:41 +03:00
2018-01-26 17:06:56 +01:00
#include "cmConfigure.h" // IWYU pragma: keep
2017-04-14 19:02:05 +02:00
#include <string>
2009-10-04 10:30:41 +03:00
#include "cmLocalVisualStudio7Generator.h"
2022-03-29 21:10:50 +02:00
class cmGeneratorTarget;
2017-04-14 19:02:05 +02:00
class cmGlobalGenerator;
class cmMakefile;
2009-10-04 10:30:41 +03:00
/** \class cmLocalVisualStudio10Generator
* \brief Write Visual Studio 10 project files.
*
2022-11-16 20:14:03 +01:00
* cmLocalVisualStudio10Generator produces a MSBuild project file for each
* target in its directory.
2009-10-04 10:30:41 +03:00
*/
class cmLocalVisualStudio10Generator : public cmLocalVisualStudio7Generator
{
public:
2019-11-11 23:01:05 +01:00
//! Set cache only and recurse to false by default.
2015-11-17 17:22:37 +01:00
cmLocalVisualStudio10Generator(cmGlobalGenerator* gg, cmMakefile* mf);
2009-10-04 10:30:41 +03:00
2023-05-23 16:38:00 +02:00
~cmLocalVisualStudio10Generator() override;
2009-10-04 10:30:41 +03:00
2018-04-23 21:13:27 +02:00
void ReadAndStoreExternalGUID(const std::string& name,
const char* path) override;
2011-01-16 11:35:12 +01:00
protected:
2018-04-23 21:13:27 +02:00
const char* ReportErrorLabel() const override;
bool CustomCommandUseLocal() const override { return true; }
2011-01-16 11:35:12 +01:00
2009-10-04 10:30:41 +03:00
private:
2021-09-14 00:13:48 +02:00
void GenerateTarget(cmGeneratorTarget* target) override;
2009-10-04 10:30:41 +03:00
};