-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroot.dmb
More file actions
executable file
·166 lines (120 loc) · 5.47 KB
/
root.dmb
File metadata and controls
executable file
·166 lines (120 loc) · 5.47 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
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
[
//
// msvc
//
// Basic stuff common to all msvc configs.
{ "name": "vc-base",
"type": "config",
"obj_extension": ".obj",
"lib_extension": ".lib",
"exe_extension": ".exe",
},
{ "name": "vc8-base",
"type": "config",
"inherit": "vc-base",
// This is the environment that the compiler runs in. dmb's
// environment does not leak into the compiler processes, so
// the environment must be defined completely here.
"compile_environment": {
"PATH": "c:/Program Files/Microsoft Visual Studio 8/VC/bin;c:/Program Files/Microsoft Visual Studio 8/Common7/IDE",
"INCLUDE": "c:/Program Files/Microsoft Visual Studio 8/VC/include;c:/Program Files/Microsoft Platform SDK/Include",
"LIB": "c:/Program Files/Microsoft Visual Studio 8/VC/lib;c:/Program Files/Microsoft Platform SDK/Lib",
"SystemRoot": "C:\\WINDOWS"
},
"cl_exe": "\"c:/Program Files/Microsoft Visual Studio 8/VC/bin/cl.exe\"",
"lib_exe": "\"c:/Program Files/Microsoft Visual Studio 8/VC/bin/lib.exe\"",
"cflags": "-D_CRT_SECURE_NO_DEPRECATE",
// This is the command-line template used to invoke the compiler.
"compile_template": "${cl_exe} -nologo ${cflags} ${target_cflags} ${dep_cflags} ${inc_dirs} -c ${src_list} -Fd${basename}.pdb",
// This is the command-line template used to invoke the linker.
"link_template": "${cl_exe} -nologo ${cflags} ${target_cflags} ${dep_cflags} ${obj_list} ${lib_list} -Fe${basename}.exe -Fd${basename}.pdb -link ${linker_flags}",
// This is the command-line template used to combine object files into a library.
"lib_template": "${lib_exe} -nologo -OUT:${basename}.lib ${obj_list}",
"detected": ["file_exists", ["fill", "${cl_exe}"]],
},
{ "name": "vc8-debug",
"type": "config",
"inherit": "vc8-base",
"cflags": ["fill", "${cflags} -Zi -MD"],
},
{ "name": "vc8-release",
"type": "config",
"inherit": "vc8-base",
"cflags": ["fill", "${cflags} -Ox -DNDEBUG -MD"],
},
{ "name": "vc9-base",
"type": "config",
"inherit": "vc-base",
// This is the environment that the compiler runs in. dmb's
// environment does not leak into the compiler processes, so
// the environment must be defined completely here.
"compile_environment": {
"PATH": "c:/Program Files/Microsoft Visual Studio 9.0/VC/bin;c:/Program Files/Microsoft Visual Studio 9.0/Common7/IDE",
"INCLUDE": "c:/Program Files/Microsoft Visual Studio 9.0/VC/include;c:/Program Files/Microsoft SDKs/Windows/v6.1/Include",
"LIB": "c:/Program Files/Microsoft Visual Studio 9.0/VC/lib;c:/Program Files/Microsoft SDKs/Windows/v6.1/Lib",
"SystemRoot": "C:\\WINDOWS"
},
"cl_exe": "c:/Program Files/Microsoft Visual Studio 9.0/VC/bin/cl.exe",
"lib_exe": "\"c:/Program Files/Microsoft Visual Studio 9.0/VC/bin/lib.exe\"",
"cflags": "-D_CRT_SECURE_NO_DEPRECATE -D_HAS_EXCEPTIONS=0",
// This is the command-line template used to invoke the compiler.
"compile_template": "\"${cl_exe}\" -nologo ${cflags} ${target_cflags} ${dep_cflags} ${inc_dirs} -c ${src_list} -Fd${basename}.pdb",
// This is the command-line template used to invoke the linker.
"link_template": "\"${cl_exe}\" -nologo ${cflags} ${target_cflags} ${dep_cflags} ${obj_list} ${lib_list} -Fe${basename}.exe -Fd${basename}.pdb -link ${linker_flags}",
// This is the command-line template used to combine object files into a library.
"lib_template": "${lib_exe} -nologo -OUT:${basename}.lib ${obj_list}",
"detected": ["file_exists", ["fill", "${cl_exe}"]],
},
{ "name": "vc9-debug",
"type": "config",
"inherit": "vc9-base",
"cflags": ["fill", "${cflags} -Zi -MD"],
},
{ "name": "vc9-release",
"type": "config",
"inherit": "vc9-base",
"cflags": ["fill", "${cflags} -Ox -MD -DNDEBUG"],
},
//
// gcc
//
// Basic stuff common to all gcc configs.
{ "name": "gcc-base",
"type": "config",
// This is the environment that the compiler runs in. dmb's
// environment does not leak into the compiler processes, so
// the environment must be defined completely here.
"compile_environment": {
"PATH": "/usr/sbin:/usr/bin:/sbin:/bin"
},
"obj_extension": ".o",
"lib_extension": ".a",
"exe_extension": "",
"cflags": "-Wall",
// This is the command-line template used to invoke the compiler.
"compile_template": "/usr/bin/gcc ${cflags} ${target_cflags} ${dep_cflags} ${inc_dirs} -c ${src_list}",
// This is the command-line template used to invoke the linker.
"link_template": "/usr/bin/gcc -o ${basename} ${cflags} ${target_cflags} ${dep_cflags} ${obj_list} ${lib_list} -lstdc++ ${linker_flags}",
// This is the command-line template used to combine object files into a library.
"lib_template": "/usr/bin/ar rc ${basename}.a ${obj_list}",
"detected": ["file_exists", "/usr/bin/gcc"],
},
{ "name": "gcc-debug",
"type": "config",
"inherit": "gcc-base",
"cflags": ["fill", "${cflags} -g"],
},
{ "name": "gcc-release",
"type": "config",
"inherit": "gcc-base",
"cflags": ["fill", "${cflags} -O2"],
},
//
// default
//
// default config picks one of the detected toolsets.
{ "name": "default",
"type": "config",
"inherit": ["config_detected", "vc9-debug", "vc8-debug", "gcc-debug"],
}
]