diff options
Diffstat (limited to 'src/tasks.h')
-rw-r--r-- | src/tasks.h | 6 |
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). |