#include "./build.hpp" | #include "./build.hpp" | ||||
#include <dds/build/plan/compile_file.hpp> | #include <dds/build/plan/compile_file.hpp> | ||||
#include <dds/compdb.hpp> | |||||
#include <dds/logging.hpp> | #include <dds/logging.hpp> | ||||
#include <dds/proc.hpp> | #include <dds/proc.hpp> | ||||
#include <dds/source.hpp> | #include <dds/source.hpp> | ||||
#include <dds/toolchain/toolchain.hpp> | #include <dds/toolchain/toolchain.hpp> | ||||
#include <dds/compdb.hpp> | |||||
#include <dds/usage_reqs.hpp> | #include <dds/usage_reqs.hpp> | ||||
#include <dds/util/algo.hpp> | #include <dds/util/algo.hpp> | ||||
#include <dds/util/string.hpp> | #include <dds/util/string.hpp> |
void generate_compdb(const build_plan&, build_env_ref); | void generate_compdb(const build_plan&, build_env_ref); | ||||
} // namespace dds | |||||
} // namespace dds |
::execvp(strings[0], (char* const*)strings.data()); | ::execvp(strings[0], (char* const*)strings.data()); | ||||
if (errno == ENOENT) { | if (errno == ENOENT) { | ||||
std::cerr << fmt:: | |||||
format("[dds child executor] The requested executable ({}) could not be found.", | |||||
strings[0]); | |||||
std::cerr | |||||
<< fmt::format("[dds child executor] The requested executable ({}) could not be found.", | |||||
strings[0]); | |||||
std::exit(-1); | std::exit(-1); | ||||
} | } | ||||
#include <cassert> | #include <cassert> | ||||
#include <functional> | #include <functional> | ||||
#include <shared_mutex> | |||||
#include <optional> | #include <optional> | ||||
#include <shared_mutex> | |||||
#include <vector> | #include <vector> | ||||
namespace dds { | namespace dds { |