blob: c5474328ccf21b77c03fdfd5a9ed43fc64c82ec6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
#pragma once
#include <string>
#include <set>
#include <memory>
#include <deque>
#include "task.h"
class BuildConfiguration;
class Settings;
struct Target
{
BuildConfiguration config;
std::string path;
};
const std::deque<Target>& getTargets(const Settings& settings,
bool resolve_externals = true);
std::shared_ptr<Task> getNextTask(const std::set<std::shared_ptr<Task>>& allTasks,
std::set<std::shared_ptr<Task>>& dirtyTasks);
std::set<std::shared_ptr<Task>> getTasks(const Settings& settings,
const std::vector<std::string> names = {},
bool resolve_externals = true);
std::set<std::shared_ptr<Task>> taskFactory(const BuildConfiguration& config,
const Settings& settings,
const std::string& sourceDir);
|