cmLocalFastbuildGenerator.h 1013 B

1234567891011121314151617181920212223242526272829303132333435
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file LICENSE.rst or https://cmake.org/licensing for details. */
  3. #pragma once
  4. #include <map>
  5. #include <string>
  6. #include "cmLocalCommonGenerator.h"
  7. class cmGeneratorTarget;
  8. class cmGlobalFastbuildGenerator;
  9. class cmGlobalGenerator;
  10. class cmMakefile;
  11. class cmSourceFile;
  12. struct cmObjectLocations;
  13. class cmLocalFastbuildGenerator : public cmLocalCommonGenerator
  14. {
  15. public:
  16. cmLocalFastbuildGenerator(cmGlobalGenerator* gg, cmMakefile* makefile);
  17. void Generate() override;
  18. void AppendFlagEscape(std::string& flags,
  19. std::string const& rawFlag) const override;
  20. void ComputeObjectFilenames(
  21. std::map<cmSourceFile const*, cmObjectLocations>& mapping,
  22. cmGeneratorTarget const* gt = nullptr) override;
  23. cmGlobalFastbuildGenerator const* GetGlobalFastbuildGenerator() const;
  24. cmGlobalFastbuildGenerator* GetGlobalFastbuildGenerator();
  25. void AdditionalCleanFiles(std::string const& config);
  26. };