Ver código fonte

Move `deps.hpp` all into build/

default_compile_flags
vector-of-bool 5 anos atrás
pai
commit
f07e6ca9cb
5 arquivos alterados com 15 adições e 26 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

@@ -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 Ver arquivo

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

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

#include <optional>

Carregando…
Cancelar
Salvar