equal
deleted
inserted
replaced
2 FILES = netdata_tsrelay.nim |
2 FILES = netdata_tsrelay.nim |
3 |
3 |
4 default: development |
4 default: development |
5 |
5 |
6 debug: ${FILES} |
6 debug: ${FILES} |
7 nim --assertions:on --nimcache:.cache c ${FILES} |
7 nim --assertions:on --threads:on --nimcache:.cache c ${FILES} |
8 |
8 |
9 development: ${FILES} |
9 development: ${FILES} |
10 # can use gdb with this... |
10 # can use gdb with this... |
11 nim --debugInfo --threads:on --linedir:on --define:testing --nimcache:.cache c ${FILES} |
11 nim --debugInfo --threads:on --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES} |
12 |
12 |
13 debugger: ${FILES} |
13 debugger: ${FILES} |
14 nim --debugger:on --threads:on --nimcache:.cache c ${FILES} |
14 nim --debugger:on --threads:on --nimcache:.cache c ${FILES} |
15 |
15 |
16 release: ${FILES} |
16 release: ${FILES} |
17 nim -d:release --opt:speed --threads:on --nimcache:.cache c ${FILES} |
17 nim -d:release --opt:speed --parallelBuild:0 --threads:on --nimcache:.cache c ${FILES} |
18 |
18 |
19 docs: |
19 docs: |
20 nim doc ${FILES} |
20 nim doc ${FILES} |
21 #nim buildIndex ${FILES} |
21 #nim buildIndex ${FILES} |
22 |
22 |