summaryrefslogtreecommitdiff
path: root/src/build.h
blob: 1db3f5c1498dfa1faf7a927314849624607125d1 (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
// -*- c++ -*-
// Distributed under the BSD 2-Clause License.
// See accompanying file LICENSE for details.
#pragma once

#include <string>
#include <list>
#include <memory>

#include "task.h"
#include "settings.h"
#include "tasks.h"

int build(const Settings& settings,
          const std::string& name,
          const std::list<std::shared_ptr<Task>>& tasks,
          const std::list<std::shared_ptr<Task>>& all_tasks);

int build(const Settings& settings,
          const std::string& name,
          const std::list<std::shared_ptr<Task>>& all_tasks);

int build(const Settings& settings,
          const std::string& name,
          const std::vector<Target>& targets,
          const std::list<std::shared_ptr<Task>>& all_tasks);