Sfoglia il codice sorgente

Move `deps.hpp` all into build/

default_compile_flags
vector-of-bool 5 anni fa
parent
commit
f07e6ca9cb
5 ha cambiato i file con 15 aggiunte e 26 eliminazioni
  1. +13
    -1
      src/dds/build/deps.hpp
  2. +0
    -1
      src/dds/build/plan/compile_file.hpp
  3. +0
    -22
      src/dds/toolchain/deps.hpp
  4. +1
    -1
      src/dds/toolchain/prep.hpp
  5. +1
    -1
      src/dds/toolchain/toolchain.hpp

+ 13
- 1
src/dds/build/deps.hpp Vedi File

@@ -1,6 +1,5 @@
#pragma once

#include <dds/toolchain/deps.hpp>
#include <dds/util/fs.hpp>

#include <string>
@@ -8,6 +7,19 @@

namespace dds {

enum class deps_mode {
none,
msvc,
gnu,
};

struct deps_info {
fs::path output;
std::vector<fs::path> inputs;
std::string command;
std::string command_output;
};

class database;

deps_info parse_mkfile_deps_file(path_ref where);

+ 0
- 1
src/dds/build/plan/compile_file.hpp Vedi File

@@ -2,7 +2,6 @@

#include <dds/build/plan/base.hpp>
#include <dds/source.hpp>
#include <dds/toolchain/deps.hpp>

#include <memory>


+ 0
- 22
src/dds/toolchain/deps.hpp Vedi File

@@ -1,22 +0,0 @@
#pragma once

#include <dds/util/fs.hpp>

#include <vector>

namespace dds {

enum class deps_mode {
none,
msvc,
gnu,
};

struct deps_info {
fs::path output;
std::vector<fs::path> inputs;
std::string command;
std::string command_output;
};

} // namespace dds

+ 1
- 1
src/dds/toolchain/prep.hpp Vedi File

@@ -1,6 +1,6 @@
#pragma once

#include <dds/toolchain/deps.hpp>
#include <dds/build/deps.hpp>

#include <string>
#include <vector>

+ 1
- 1
src/dds/toolchain/toolchain.hpp Vedi File

@@ -1,6 +1,6 @@
#pragma once

#include <dds/toolchain/deps.hpp>
#include <dds/build/deps.hpp>
#include <dds/util/fs.hpp>

#include <optional>

Loading…
Annulla
Salva