cmLocalCommonGenerator.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2015 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmLocalCommonGenerator_h
  11. #define cmLocalCommonGenerator_h
  12. #include "cmLocalGenerator.h"
  13. class cmCommonTargetGenerator;
  14. /** \class cmLocalCommonGenerator
  15. * \brief Common infrastructure for Makefile and Ninja local generators.
  16. */
  17. class cmLocalCommonGenerator: public cmLocalGenerator
  18. {
  19. public:
  20. cmLocalCommonGenerator(cmGlobalGenerator* gg, cmMakefile* mf);
  21. ~cmLocalCommonGenerator();
  22. std::string const& GetConfigName() { return this->ConfigName; }
  23. protected:
  24. void SetConfigName();
  25. std::string ConfigName;
  26. friend class cmCommonTargetGenerator;
  27. };
  28. #endif