mirror of
https://github.com/reactos/CMake.git
synced 2024-12-01 07:20:22 +00:00
7fa0f4b870
Solution folders are supported as read-only in the VS11 Express Edition, so do not prohibit their use just because we detect the express edition (as we did in the VS10 generator). Inspired-by: Paris
41 lines
1.4 KiB
C++
41 lines
1.4 KiB
C++
/*============================================================================
|
|
CMake - Cross Platform Makefile Generator
|
|
Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
|
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
see accompanying file Copyright.txt for details.
|
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
See the License for more information.
|
|
============================================================================*/
|
|
#ifndef cmGlobalVisualStudio11Generator_h
|
|
#define cmGlobalVisualStudio11Generator_h
|
|
|
|
#include "cmGlobalVisualStudio10Generator.h"
|
|
|
|
|
|
/** \class cmGlobalVisualStudio11Generator */
|
|
class cmGlobalVisualStudio11Generator:
|
|
public cmGlobalVisualStudio10Generator
|
|
{
|
|
public:
|
|
cmGlobalVisualStudio11Generator(const char* name,
|
|
const char* architectureId, const char* additionalPlatformDefinition);
|
|
static cmGlobalGeneratorFactory* NewFactory();
|
|
|
|
virtual void WriteSLNHeader(std::ostream& fout);
|
|
|
|
///! create the correct local generator
|
|
virtual cmLocalGenerator *CreateLocalGenerator();
|
|
|
|
/** TODO: VS 11 user macro support. */
|
|
virtual std::string GetUserMacrosDirectory() { return ""; }
|
|
protected:
|
|
virtual const char* GetIDEVersion() { return "11.0"; }
|
|
bool UseFolderProperty();
|
|
private:
|
|
class Factory;
|
|
};
|
|
#endif
|