summaryrefslogtreecommitdiff
path: root/src/deps.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2025-01-07 07:26:39 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2025-01-07 20:44:35 +0100
commitc50b7554cfd23b53107f2a2917a0be22a68b0c11 (patch)
tree11594994a9d416d86b574e4914c25fde56acf74d /src/deps.h
parent80c59512ea66534456f62cffbd35f440a97b7bf7 (diff)
Move readDeps function to its own file.develop
Diffstat (limited to 'src/deps.h')
-rw-r--r--src/deps.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/deps.h b/src/deps.h
new file mode 100644
index 0000000..be0dfb2
--- /dev/null
+++ b/src/deps.h
@@ -0,0 +1,12 @@
+// -*- c++ -*-
+// Distributed under the BSD 2-Clause License.
+// See accompanying file LICENSE for details.
+#pragma once
+
+#include "ctor.h"
+
+#include <vector>
+#include <string>
+
+std::vector<std::string> readDeps(const std::string& dep_file,
+ ctor::toolchain toolchain);