-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUSY
55 lines (42 loc) · 1.43 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
# Copyright (C) 2022 Rochus Keller ([email protected]) for LeanCreator
# licensed under GPL/LGPL
if busy_version < "2023-05-10" {
error("this version of BUSY is not compatible with this build")
}
param HAVE_MT = false
param HAVE_SHARED_QT = false
submod qt - = ../LeanQt (HAVE_ITEMVIEWS, HAVE_PROCESS, HAVE_NETACCESS, HAVE_LOCALSOCK, HAVE_SHARED = HAVE_SHARED_QT,
HAVE_SHAREDMEM, HAVE_XMLSTREAM, HAVE_CONCURRENT, HAVE_PLUGINS, HAVE_RE, HAVE_JSON, HAVE_XML, HAVE_ZLIB)
# NOTE: reusing existing QMimeDatabase instead of Utils::MimeDatabase leads to all kinds of crashes and memory corruptions.
let cpp11conf - : Config {
if (target_toolchain == `gcc) || (target_toolchain == `clang) {
.cflags_cc += "-std=c++11" # required because of utils/algorithm.h
}
.defines += "LEANCREATOR_ALL_STATIC"
}
# the absolute minimum application consists of utils, extensionsystem, core and app
submod utils -
submod extensionsystem -
submod core -
submod texteditor -
submod projectexplorer -
submod resourceeditor -
submod genericprojectmanager -
submod cplusplus -
submod cpptools -
submod cppeditor -
submod classview -
submod debugger -
submod bineditor -
submod busytools -
submod busyprojectmanager -
submod wizards -
submod help -
submod app
let mtconf : Config {
.cflags = [ "/O2", "/MT" ]
}
if HAVE_MT && (build_mode == `optimized) && (target_toolchain == `msvc) {
set_defaults(target_toolchain,mtconf)
}
let leancreator ! = app.exe