Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

29 rindas
505B

  1. #pragma once
  2. #include <dds/util/fs.hpp>
  3. #include <optional>
  4. #include <vector>
  5. namespace dds {
  6. enum class source_kind {
  7. header,
  8. source,
  9. test,
  10. app,
  11. };
  12. std::optional<source_kind> infer_source_kind(path_ref) noexcept;
  13. struct source_file {
  14. fs::path path;
  15. source_kind kind;
  16. static std::optional<source_file> from_path(path_ref) noexcept;
  17. static std::vector<source_file> collect_for_dir(path_ref);
  18. };
  19. using source_list = std::vector<source_file>;
  20. } // namespace dds