2015-07-07 23:37:56 +03:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2015 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 cmLocalCommonGenerator_h
|
|
|
|
#define cmLocalCommonGenerator_h
|
|
|
|
|
|
|
|
#include "cmLocalGenerator.h"
|
|
|
|
|
2015-07-08 22:24:17 +03:00
|
|
|
class cmCommonTargetGenerator;
|
|
|
|
|
2015-07-07 23:37:56 +03:00
|
|
|
/** \class cmLocalCommonGenerator
|
|
|
|
* \brief Common infrastructure for Makefile and Ninja local generators.
|
|
|
|
*/
|
|
|
|
class cmLocalCommonGenerator: public cmLocalGenerator
|
|
|
|
{
|
|
|
|
public:
|
2015-08-02 12:41:51 +03:00
|
|
|
cmLocalCommonGenerator(cmGlobalGenerator* gg, cmMakefile* mf);
|
2015-07-07 23:37:56 +03:00
|
|
|
~cmLocalCommonGenerator();
|
2015-07-08 18:27:22 +03:00
|
|
|
|
|
|
|
std::string const& GetConfigName() { return this->ConfigName; }
|
|
|
|
|
|
|
|
protected:
|
|
|
|
void SetConfigName();
|
|
|
|
std::string ConfigName;
|
2015-07-08 22:24:17 +03:00
|
|
|
|
|
|
|
friend class cmCommonTargetGenerator;
|
2015-07-07 23:37:56 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|