blob: 97fc84d318caf40c1852a04733a007e98191279e (
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
|
#pragma once
#include <string>
#include <memory>
#include <deque>
#include "task.h"
struct Target
{
ctor::build_configuration config;
std::string path;
};
const std::deque<Target>& getTargets(const ctor::settings& settings,
bool resolve_externals = true);
std::shared_ptr<Task> getNextTask(const ctor::settings& settings,
const std::vector<std::shared_ptr<Task>>& allTasks,
std::vector<std::shared_ptr<Task>>& dirtyTasks);
std::vector<std::shared_ptr<Task>> getTasks(const ctor::settings& settings,
const std::vector<std::string> names = {},
bool resolve_externals = true);
std::vector<std::shared_ptr<Task>> taskFactory(const ctor::build_configuration& config,
const ctor::settings& settings,
const std::string& sourceDir,
bool is_self);
|