summaryrefslogtreecommitdiff
path: root/src/tasks.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-11-21 21:09:42 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-11-21 21:09:42 +0100
commit0855b2177b62fa719eff6643e3b433c41eecf142 (patch)
tree4d2e2166bb206f9f232f828a23d743d601f20f3a /src/tasks.h
parenta7869c0bd65faacdd008284df9ab07de7df3d445 (diff)
Don't warn about missing external config cache values when bootstrapping.
Diffstat (limited to 'src/tasks.h')
-rw-r--r--src/tasks.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tasks.h b/src/tasks.h
index aaa3510..f2a77d4 100644
--- a/src/tasks.h
+++ b/src/tasks.h
@@ -20,7 +20,8 @@ struct Target
};
//! Get list of all registered targets
-const std::deque<Target>& getTargets(const Settings& settings);
+const std::deque<Target>& getTargets(const Settings& settings,
+ bool resolve_externals = true);
//! Returns next dirty task from the dirtyTasks list that has all its dependencies
//! fulfilled.
@@ -32,7 +33,8 @@ std::shared_ptr<Task> getNextTask(const std::list<std::shared_ptr<Task>>& allTas
//! Get list of tasks filtered by name including each of their direct
//! dependency tasks (ie. objects tasks from their sources).
std::list<std::shared_ptr<Task>> getTasks(const Settings& settings,
- const std::vector<std::string> names = {});
+ const std::vector<std::string> names = {},
+ bool resolve_externals = true);
//! Generate list of targets from a single configuration, including the final
//! link target and all its objects files (if any).