-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathannotations.lua
More file actions
130 lines (93 loc) · 2.58 KB
/
Copy pathannotations.lua
File metadata and controls
130 lines (93 loc) · 2.58 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
---@param name string
function set_project(name) end
---@param version string
function set_xmakever(version) end
---@param version string
---@param options table
function set_version(version, options) end
---@param rules string
---@param ... string
function add_rules(rules, ...) end
---@param warnings string
---@param ... string
function set_warnings(warnings, ...) end
---@param languages string
---@param ... string
function set_languages(languages, ...) end
---@param package string
---@param ... table | string
function add_requires(package, ...) end
---@param policy string
---@param value boolean
function set_policy(policy, value) end
---@param target string
function target(target) end
---@param kind string
function set_kind(kind) end
---@param ... string|table
function add_packages(...) end
---@param option string
function option(option) end
---@param value boolean
function set_showmenu(value) end
---@param value string | boolean
function set_default(value) end
---@param values string
---@param ... string
function set_values(values, ...) end
---@param description string
function set_description(description) end
---@param flag table | string
---@param ... table | string
function add_ldflags(flag, ...) end
---@param directory string
---@param ... string
function includes(directory, ...) end
---@param action function
function after_check(action) end
---@param config string
---@return string
function get_config(config)
return ""
end
---@param file string
function add_configfiles(file) end
---@param name string
---@param opt table
function add_options(name, opt) end
---@param target function
function before_build(target) end
---@param target string
---@param ... table | string
function add_deps(target, ...) end
function target_end() end
---@param files string
function add_files(files) end
---@param dirs string
---@param options table?
function add_includedirs(dirs, options) end
---@param pattern string
---@param options table?
function add_headerfiles(pattern, options) end
---@param name string
---@param options table
function add_tests(name, options) end
---@param action function
function on_test(action) end
---@param name string
---@param value string
function set_config(name, value) end
---@param name string
function set_options(name) end
function option_end() end
---@param action function
function before_prepare(action) end
---@param opimization string
function set_optimize(opimization) end
---@param mode string
---@return boolean
function is_mode(mode) end
---@param name string
function rule(name) end
---@param action function
function on_load(action) end