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
44
45
46
47
48
49
50
51
52
|
enum class ToolChain
{
gcc,
clang,
};
enum class opt
{
output,
debug,
strip,
warn_all,
warnings_as_errors,
generate_dep_tree,
no_link,
include_path,
library_path,
link,
cpp_std,
build_shared,
threads,
optimization,
position_independent_code,
position_independent_executable,
custom,
};
ToolChain getToolChain(ctor::output_system system);
std::vector<std::string> getOption(ToolChain tool_chain,
opt option,
const std::string& arg = {});
std::pair<opt, std::string> getOption(const std::string& flag,
ToolChain tool_chain = ToolChain::gcc);
|