@@ -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); |
@@ -2,7 +2,6 @@ | |||
#include <dds/build/plan/base.hpp> | |||
#include <dds/source.hpp> | |||
#include <dds/toolchain/deps.hpp> | |||
#include <memory> | |||
@@ -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,6 +1,6 @@ | |||
#pragma once | |||
#include <dds/toolchain/deps.hpp> | |||
#include <dds/build/deps.hpp> | |||
#include <string> | |||
#include <vector> |
@@ -1,6 +1,6 @@ | |||
#pragma once | |||
#include <dds/toolchain/deps.hpp> | |||
#include <dds/build/deps.hpp> | |||
#include <dds/util/fs.hpp> | |||
#include <optional> |