1
0

cmScanDepFormat.h 705 B

1234567891011121314151617181920212223242526
  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 <vector>
  6. struct cmSourceReqInfo
  7. {
  8. std::string LogicalName;
  9. std::string CompiledModulePath;
  10. };
  11. struct cmScanDepInfo
  12. {
  13. std::string PrimaryOutput;
  14. // Set of provided and required modules.
  15. std::vector<cmSourceReqInfo> Provides;
  16. std::vector<cmSourceReqInfo> Requires;
  17. };
  18. bool cmScanDepFormat_P1689_Parse(std::string const& arg_pp,
  19. cmScanDepInfo* info);
  20. bool cmScanDepFormat_P1689_Write(std::string const& path,
  21. cmScanDepInfo const& info);