-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.nims
More file actions
42 lines (40 loc) · 796 Bytes
/
config.nims
File metadata and controls
42 lines (40 loc) · 796 Bytes
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
--debugger:native
--deepcopy:on
--define:nimPreviewHashRef
--define:nimStrictDelete
--define:ssl
--define:threadsafe
--hints:on
--mm:orc
--multimethods:on
--parallelBuild:0 # TODO: 1 is always a good idea in CI
--stackTraceMsgs:on
--styleCheck:error
--threads:on
--tlsEmulation:on
--warnings:on
case getCommand():
of "c", "cc", "cpp", "objc":
--lineDir:on
--lineTrace:on
--stackTrace:on
else: discard
case getEnv "ENV":
of "DEV":
--assertions:on
--checks:on
# --colors:on # breaks vscode runner?
--debuginfo:on
--declaredLocs:on
--errorMax:0
--excessiveStackTrace:on
--opt:size
--showAllMismatches:on
--verbosity:2
else:
--assertions:off
--define:release
--errorMax:1
--forceBuild:on
--opt:speed
--verbosity:0