cmLocalCommonGenerator.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 cmLocalCommonGenerator
  14. * \brief Common infrastructure for Makefile and Ninja local generators.
  15. */
  16. class cmLocalCommonGenerator: public cmLocalGenerator
  17. {
  18. public:
  19. cmLocalCommonGenerator(cmGlobalGenerator* gg,
  20. cmLocalGenerator* parent,
  21. cmState::Snapshot snapshot);
  22. ~cmLocalCommonGenerator();
  23. std::string const& GetConfigName() { return this->ConfigName; }
  24. protected:
  25. void SetConfigName();
  26. std::string ConfigName;
  27. };
  28. #endif