refactoring: explict config state instead of globals
This commit is contained in:
parent
5565b9ef10
commit
f04d21f279
12 changed files with 110 additions and 79 deletions
|
|
@ -293,6 +293,11 @@ template task*(name: untyped; description: string; body: untyped): untyped =
|
|||
setCommand "nop"
|
||||
`name Task`()
|
||||
|
||||
proc cppDefine*(define: string) =
|
||||
## tell Nim that ``define`` is a C preprocessor ``#define`` and so always
|
||||
## needs to be mangled.
|
||||
builtin
|
||||
|
||||
when not defined(nimble):
|
||||
# nimble has its own implementation for these things.
|
||||
var
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue