-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathBUSY
67 lines (60 loc) · 1.5 KB
/
BUSY
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
# author: Rochus Keller ([email protected])
# License: GPL
# See https://github.com/rochus-keller/BUSY/blob/main/README.md on how to use this file
if busy_version < "2023-01-15" {
error("this version of BUSY is not compatible with this build")
}
submod qt = ../LeanQt (HAVE_ITEMVIEWS)
let run_moc : Moc {
.sources += [
./EbnfEditor.h
./EbnfErrors.h
./MainWindow.h
../GuiTools/CodeEditor.h
../GuiTools/UiFunction.h
../GuiTools/AutoShortcut.h
../GuiTools/AutoMenu.h
]
}
let run_rcc : Rcc {
.deps += qt.copy_rcc;
.tool_dir = root_build_dir + relpath(qt);
.sources += ./EbnfStudio.qrc
}
let exe ! : Executable {
.configs += [ qt.qt_client_config ]
.sources = [
./main.cpp
./MainWindow.cpp
./EbnfEditor.cpp
./EbnfHighlighter.cpp
./EbnfLexer.cpp
./EbnfToken.cpp
./EbnfSyntax.cpp
./EbnfParser.cpp
./EbnfErrors.cpp
./EbnfAnalyzer.cpp
./SynTreeGen.cpp
./HtmlSyntax.cpp
./SyntaxTreeMdl.cpp
./GenUtils.cpp
./CocoGen.cpp
./FirstFollowSet.cpp
./AntlrGen.cpp
./LlgenGen.cpp
./SyntaxTools.cpp
./LaParser.cpp
./CppGen.cpp
../GuiTools/AutoMenu.cpp
../GuiTools/AutoShortcut.cpp
../GuiTools/NamedFunction.cpp
../GuiTools/UiFunction.cpp
../GuiTools/CodeEditor.cpp
]
.include_dirs += [ . .. ]
.deps += [ qt.copy_rcc qt.libqt run_rcc run_moc ]
if target_os == `win32 {
.deps += qt.libqtwinmain
}
.name = "EbnfStudio"
}