improve the compiler option "cppCompileToNamespace", a custom namespace can now be set

This commit is contained in:
Giovanni 2018-09-15 20:06:26 +09:00
commit f1b64e4b96
5 changed files with 22 additions and 10 deletions

View file

@ -242,6 +242,7 @@ type
writelnHook*: proc (output: string) {.closure.}
structuredErrorHook*: proc (config: ConfigRef; info: TLineInfo; msg: string;
severity: Severity) {.closure.}
cppCustomNamespace*: string
template depConfigFields*(fn) {.dirty.} =
fn(target)