author | Mahlon E. Smith <mahlon@laika.com> |
Mon, 05 Mar 2018 15:34:12 -0800 | |
changeset 14 | 717e89280a20 |
parent 11 | 475c9942eb15 |
child 19 | 1f09cfb560e0 |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
FILES = netdata_tsrelay.nim |
|
3 |
||
11 | 4 |
default: release |
0 | 5 |
|
6 |
debug: ${FILES} |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
7 |
nim --assertions:on --nimcache:.cache c ${FILES} |
0 | 8 |
|
9 |
development: ${FILES} |
|
10 |
# can use gdb with this... |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
11 |
nim --debugInfo --linedir:on -d:testing -d:nimTypeNames --nimcache:.cache c ${FILES} |
0 | 12 |
|
13 |
debugger: ${FILES} |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
14 |
nim --debugger:on --nimcache:.cache c ${FILES} |
0 | 15 |
|
16 |
release: ${FILES} |
|
9
aa9d537f7067
Properly reap child processes.
Mahlon E. Smith <mahlon@laika.com>
parents:
5
diff
changeset
|
17 |
nim -d:release --opt:speed --parallelBuild:0 --nimcache:.cache c ${FILES} |
0 | 18 |
|
19 |
docs: |
|
20 |
nim doc ${FILES} |
|
21 |
#nim buildIndex ${FILES} |
|
22 |
||
23 |
clean: |
|
24 |
cat .hgignore | xargs rm -rf |
|
25 |