cmGccDepfileReader.h 543 B

1234567891011121314151617
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #pragma once
  4. #include <string>
  5. #include <cm/optional>
  6. #include "cmGccDepfileReaderTypes.h"
  7. cm::optional<cmGccDepfileContent> cmReadGccDepfile(const char* filePath);
  8. /*
  9. * Read dependencies file and append prefix to all relative paths
  10. */
  11. cm::optional<cmGccDepfileContent> cmReadGccDepfile(const char* filePath,
  12. const std::string& prefix);