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
|
2008-10-12 18:41:06 +02:00
|
|
|
|
2020-08-30 11:54:41 +02:00
|
|
|
#include <memory>
|
2022-03-29 21:10:50 +02:00
|
|
|
#include <string>
|
2020-08-30 11:54:41 +02:00
|
|
|
|
2008-10-12 18:41:06 +02:00
|
|
|
#include "cmGlobalVisualStudio8Generator.h"
|
|
|
|
|
2022-03-29 21:10:50 +02:00
|
|
|
class cmGlobalGeneratorFactory;
|
|
|
|
class cmake;
|
|
|
|
|
2008-10-12 18:41:06 +02:00
|
|
|
/** \class cmGlobalVisualStudio9Generator
|
|
|
|
* \brief Write a Unix makefiles.
|
|
|
|
*
|
|
|
|
* cmGlobalVisualStudio9Generator manages UNIX build process for a tree
|
|
|
|
*/
|
2016-07-09 11:21:54 +02:00
|
|
|
class cmGlobalVisualStudio9Generator : public cmGlobalVisualStudio8Generator
|
2008-10-12 18:41:06 +02:00
|
|
|
{
|
|
|
|
public:
|
2020-08-30 11:54:41 +02:00
|
|
|
static std::unique_ptr<cmGlobalGeneratorFactory> NewFactory();
|
2008-10-12 18:41:06 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Where does this version of Visual Studio look for macros for the
|
|
|
|
* current user? Returns the empty string if this version of Visual
|
|
|
|
* Studio does not implement support for VB macros.
|
|
|
|
*/
|
2018-04-23 21:13:27 +02:00
|
|
|
std::string GetUserMacrosDirectory() override;
|
2008-10-12 18:41:06 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* What is the reg key path to "vsmacros" for this version of Visual
|
|
|
|
* Studio?
|
|
|
|
*/
|
2018-04-23 21:13:27 +02:00
|
|
|
std::string GetUserMacrosRegKeyBase() override;
|
2016-07-09 11:21:54 +02:00
|
|
|
|
2009-10-04 10:30:41 +03:00
|
|
|
protected:
|
2019-11-11 23:01:05 +01:00
|
|
|
cmGlobalVisualStudio9Generator(cmake* cm, const std::string& name,
|
|
|
|
std::string const& platformInGeneratorName);
|
2018-08-09 18:06:22 +02:00
|
|
|
|
2013-03-16 19:13:01 +02:00
|
|
|
private:
|
|
|
|
class Factory;
|
|
|
|
friend class Factory;
|
2008-10-12 18:41:06 +02:00
|
|
|
};
|