-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
445 lines (441 loc) · 32.3 KB
/
CMakeLists.txt
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
# this is the build file for project
# it is autogenerated by the xmake build system.
# do not edit by hand.
# project
cmake_minimum_required(VERSION 3.13.0)
# target
add_executable(test "")
set_target_properties(test PROPERTIES OUTPUT_NAME "test")
set_target_properties(test PROPERTIES RUNTIME_OUTPUT_DIRECTORY "build/linux/x86_64/release")
target_include_directories(test PRIVATE
src
src/parser
.xmake/linux/x86_64/repositories/yaml/include
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src
.xmake/linux/x86_64/repositories/args
.xmake/linux/x86_64/repositories/catch/include
/usr/local/include
/usr/include
)
target_compile_options(test PRIVATE
$<$<COMPILE_LANGUAGE:C>:-m64>
$<$<COMPILE_LANGUAGE:CXX>:-m64>
$<$<COMPILE_LANGUAGE:CXX>:-std=c++17>
$<$<COMPILE_LANGUAGE:CXX>:-fuse-ld=lld>
)
target_link_directories(test PRIVATE
/usr/local/lib
/usr/lib
)
target_link_options(test PRIVATE
-m64
)
target_sources(test PRIVATE
test/test.cpp
test/test_parser.cpp
test/test_format_file.cpp
test/test_args.cpp
test/test_config.cpp
test/test_validation.cpp
src/config.cpp
src/visitor.cpp
src/parser/LuaParser.cpp
src/parser/LuaBaseVisitor.cpp
src/parser/LuaVisitor.cpp
src/parser/LuaLexer.cpp
src/format.cpp
.xmake/linux/x86_64/repositories/yaml/src/singledocparser.cpp
.xmake/linux/x86_64/repositories/yaml/src/stream.cpp
.xmake/linux/x86_64/repositories/yaml/src/scanner.cpp
.xmake/linux/x86_64/repositories/yaml/src/scanscalar.cpp
.xmake/linux/x86_64/repositories/yaml/src/directives.cpp
.xmake/linux/x86_64/repositories/yaml/src/node_data.cpp
.xmake/linux/x86_64/repositories/yaml/src/ostream_wrapper.cpp
.xmake/linux/x86_64/repositories/yaml/src/binary.cpp
.xmake/linux/x86_64/repositories/yaml/src/regex_yaml.cpp
.xmake/linux/x86_64/repositories/yaml/src/scantoken.cpp
.xmake/linux/x86_64/repositories/yaml/src/exceptions.cpp
.xmake/linux/x86_64/repositories/yaml/src/tag.cpp
.xmake/linux/x86_64/repositories/yaml/src/emit.cpp
.xmake/linux/x86_64/repositories/yaml/src/parser.cpp
.xmake/linux/x86_64/repositories/yaml/src/emitterstate.cpp
.xmake/linux/x86_64/repositories/yaml/src/node.cpp
.xmake/linux/x86_64/repositories/yaml/src/nodeevents.cpp
.xmake/linux/x86_64/repositories/yaml/src/null.cpp
.xmake/linux/x86_64/repositories/yaml/src/exp.cpp
.xmake/linux/x86_64/repositories/yaml/src/convert.cpp
.xmake/linux/x86_64/repositories/yaml/src/emitterutils.cpp
.xmake/linux/x86_64/repositories/yaml/src/nodebuilder.cpp
.xmake/linux/x86_64/repositories/yaml/src/scantag.cpp
.xmake/linux/x86_64/repositories/yaml/src/simplekey.cpp
.xmake/linux/x86_64/repositories/yaml/src/parse.cpp
.xmake/linux/x86_64/repositories/yaml/src/memory.cpp
.xmake/linux/x86_64/repositories/yaml/src/emitter.cpp
.xmake/linux/x86_64/repositories/yaml/src/contrib/graphbuilder.cpp
.xmake/linux/x86_64/repositories/yaml/src/contrib/graphbuilderadapter.cpp
.xmake/linux/x86_64/repositories/yaml/src/emitfromevents.cpp
.xmake/linux/x86_64/repositories/yaml/src/depthguard.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ANTLRInputStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/RecognitionException.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ProxyErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/FailedPredicateException.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/InterpreterRuleContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/CommonTokenFactory.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Token.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/DiagnosticErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/BufferedTokenStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ConsoleErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/WritableToken.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/RuleContextWithAltNum.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/RuleContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Exceptions.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ANTLRErrorStrategy.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ParserRuleContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/CharStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/CommonToken.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ParserInterpreter.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/BailErrorStrategy.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/UnbufferedTokenStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Parser.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/TokensStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNSimulator.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/StarLoopEntryState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/StarBlockStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/StarLoopbackState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerTypeAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNConfigSet.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PredictionMode.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LookaheadEventInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerMoreAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/EpsilonTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/BasicState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/RuleTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/Transition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/BasicBlockStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/OrderedATNConfigSet.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/WildcardTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerATNSimulator.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerATNConfig.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerPopModeAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/RangeTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/RuleStopState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PredicateTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNConfig.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PrecedencePredicateTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNSerializer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/AmbiguityInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/NotSetTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LoopEndState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerActionExecutor.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/BlockEndState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/AbstractPredicateTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNDeserializer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/DecisionEventInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ParserATNSimulator.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PredictionContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/RuleStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LL1Analyzer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerCustomAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/BlockStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/EmptyPredictionContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PlusBlockStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/AtomTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/DecisionState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ArrayPredictionContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PredicateEvalInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ActionTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/SetTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerIndexedCustomAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerPushModeAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ErrorInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATN.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerModeAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/SemanticContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/DecisionInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ContextSensitivityInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerChannelAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PlusLoopbackState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/SingletonPredictionContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ParseInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/dfa/DFASerializer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/dfa/DFAState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/dfa/DFA.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/CommonTokenStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/MurmurHash.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/InterpreterDataReader.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/Interval.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/IntervalSet.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/Predicate.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Vocabulary.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/TokenSource.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/LexerInterpreter.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/UnbufferedCharStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/LexerNoViableAltException.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ANTLRFileStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ANTLRErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ParseTreeListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/ParseTreeMatch.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/RuleTagToken.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/TagChunk.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/TextChunk.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/ParseTreePatternMatcher.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/Chunk.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/TokenTagToken.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/Trees.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ParseTreeVisitor.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ParseTreeWalker.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ErrorNodeImpl.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/TerminalNodeImpl.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/IterativeParseTreeWalker.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/TerminalNode.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ParseTree.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPath.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathTokenElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathLexerErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathRuleElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ErrorNode.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/TokenStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Lexer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/RuntimeMetaData.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Recognizer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/TokenStreamRewriter.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/IntStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/StringUtils.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/Arrays.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/guid.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/CPPUtils.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/Any.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/BaseErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/NoViableAltException.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ListTokenSource.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/InputMismatchException.cpp
)
# target
add_executable(lua-format "")
set_target_properties(lua-format PROPERTIES OUTPUT_NAME "lua-format")
set_target_properties(lua-format PROPERTIES RUNTIME_OUTPUT_DIRECTORY "build/linux/x86_64/release")
target_include_directories(lua-format PRIVATE
src
src/parser
.xmake/linux/x86_64/repositories/args
.xmake/linux/x86_64/repositories/yaml/include
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src
/usr/local/include
/usr/include
)
target_compile_options(lua-format PRIVATE
$<$<COMPILE_LANGUAGE:C>:-m64>
$<$<COMPILE_LANGUAGE:CXX>:-m64>
$<$<COMPILE_LANGUAGE:CXX>:-std=c++17>
$<$<COMPILE_LANGUAGE:CXX>:-fuse-ld=lld>
)
target_link_directories(lua-format PRIVATE
/usr/local/lib
/usr/lib
)
target_link_options(lua-format PRIVATE
-m64
)
target_sources(lua-format PRIVATE
src/config.cpp
src/visitor.cpp
src/parser/LuaParser.cpp
src/parser/LuaBaseVisitor.cpp
src/parser/LuaVisitor.cpp
src/parser/LuaLexer.cpp
src/main.cpp
src/format.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ANTLRInputStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/RecognitionException.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ProxyErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/FailedPredicateException.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/InterpreterRuleContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/CommonTokenFactory.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Token.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/DefaultErrorStrategy.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/DiagnosticErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/BufferedTokenStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ConsoleErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/WritableToken.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/RuleContextWithAltNum.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/RuleContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Exceptions.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ANTLRErrorStrategy.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ParserRuleContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/CharStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/CommonToken.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ParserInterpreter.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/BailErrorStrategy.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/UnbufferedTokenStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Parser.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/TokensStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNSimulator.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/StarLoopEntryState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/StarBlockStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/StarLoopbackState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerTypeAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNConfigSet.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PredictionMode.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LookaheadEventInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerMoreAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/EpsilonTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/BasicState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/RuleTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/Transition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/BasicBlockStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/OrderedATNConfigSet.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/WildcardTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerATNSimulator.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerATNConfig.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerPopModeAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/RangeTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/RuleStopState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PredicateTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNConfig.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PrecedencePredicateTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNSerializer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/AmbiguityInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/NotSetTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LoopEndState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerActionExecutor.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/BlockEndState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/AbstractPredicateTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNDeserializer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/DecisionEventInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ParserATNSimulator.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PredictionContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/RuleStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LL1Analyzer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerCustomAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/BlockStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/EmptyPredictionContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PlusBlockStartState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/AtomTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/DecisionState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerSkipAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ArrayPredictionContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PredicateEvalInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ActionTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/SetTransition.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerIndexedCustomAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerPushModeAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ErrorInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATN.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerModeAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ATNDeserializationOptions.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/SemanticContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ProfilingATNSimulator.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/DecisionInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ContextSensitivityInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/LexerChannelAction.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/PlusLoopbackState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/SingletonPredictionContext.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/atn/ParseInfo.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/dfa/DFASerializer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/dfa/DFAState.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/dfa/DFA.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/dfa/LexerDFASerializer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/CommonTokenStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/MurmurHash.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/InterpreterDataReader.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/Interval.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/IntervalSet.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/misc/Predicate.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Vocabulary.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/TokenSource.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/LexerInterpreter.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/UnbufferedCharStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/LexerNoViableAltException.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ANTLRFileStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ANTLRErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ParseTreeListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/ParseTreeMatch.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/RuleTagToken.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/TagChunk.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/TextChunk.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/ParseTreePattern.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/ParseTreePatternMatcher.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/Chunk.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/pattern/TokenTagToken.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/Trees.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ParseTreeVisitor.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ParseTreeWalker.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ErrorNodeImpl.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/TerminalNodeImpl.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/IterativeParseTreeWalker.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/TerminalNode.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ParseTree.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPath.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathTokenElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathLexerErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardAnywhereElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathWildcardElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathLexer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathTokenAnywhereElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathRuleAnywhereElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/xpath/XPathRuleElement.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/tree/ErrorNode.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/TokenStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Lexer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/RuntimeMetaData.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/Recognizer.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/TokenStreamRewriter.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/IntStream.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/StringUtils.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/Arrays.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/guid.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/CPPUtils.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/support/Any.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/BaseErrorListener.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/NoViableAltException.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/ListTokenSource.cpp
.xmake/linux/x86_64/repositories/antlr/runtime/Cpp/runtime/src/InputMismatchException.cpp
.xmake/linux/x86_64/repositories/yaml/src/singledocparser.cpp
.xmake/linux/x86_64/repositories/yaml/src/stream.cpp
.xmake/linux/x86_64/repositories/yaml/src/scanner.cpp
.xmake/linux/x86_64/repositories/yaml/src/scanscalar.cpp
.xmake/linux/x86_64/repositories/yaml/src/directives.cpp
.xmake/linux/x86_64/repositories/yaml/src/node_data.cpp
.xmake/linux/x86_64/repositories/yaml/src/ostream_wrapper.cpp
.xmake/linux/x86_64/repositories/yaml/src/binary.cpp
.xmake/linux/x86_64/repositories/yaml/src/regex_yaml.cpp
.xmake/linux/x86_64/repositories/yaml/src/scantoken.cpp
.xmake/linux/x86_64/repositories/yaml/src/exceptions.cpp
.xmake/linux/x86_64/repositories/yaml/src/tag.cpp
.xmake/linux/x86_64/repositories/yaml/src/emit.cpp
.xmake/linux/x86_64/repositories/yaml/src/parser.cpp
.xmake/linux/x86_64/repositories/yaml/src/emitterstate.cpp
.xmake/linux/x86_64/repositories/yaml/src/node.cpp
.xmake/linux/x86_64/repositories/yaml/src/nodeevents.cpp
.xmake/linux/x86_64/repositories/yaml/src/null.cpp
.xmake/linux/x86_64/repositories/yaml/src/exp.cpp
.xmake/linux/x86_64/repositories/yaml/src/convert.cpp
.xmake/linux/x86_64/repositories/yaml/src/emitterutils.cpp
.xmake/linux/x86_64/repositories/yaml/src/nodebuilder.cpp
.xmake/linux/x86_64/repositories/yaml/src/scantag.cpp
.xmake/linux/x86_64/repositories/yaml/src/simplekey.cpp
.xmake/linux/x86_64/repositories/yaml/src/parse.cpp
.xmake/linux/x86_64/repositories/yaml/src/memory.cpp
.xmake/linux/x86_64/repositories/yaml/src/emitter.cpp
.xmake/linux/x86_64/repositories/yaml/src/contrib/graphbuilder.cpp
.xmake/linux/x86_64/repositories/yaml/src/contrib/graphbuilderadapter.cpp
.xmake/linux/x86_64/repositories/yaml/src/emitfromevents.cpp
.xmake/linux/x86_64/repositories/yaml/src/depthguard.cpp
)