diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-05-11 03:01:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 12:01:18 +0200 |
commit | 9502e39b634eea8e04f07ddc110b466387f42322 (patch) | |
tree | 240ffa98d6f1d556986dccbb66e9f5e0e81675e4 /lib | |
parent | d11cb9d49596957e9fa097110cf19e9caf085592 (diff) | |
download | Nim-9502e39b634eea8e04f07ddc110b466387f42322.tar.gz |
`nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, `--doccmd:skip` + other improvements (#14278)
* `nim doc --backend:js|cpp...` `nim doc --doccmd:'-d:foo --threads:on'` `nim r --backend:cpp...` (implies --run --usenimcache) * --usenimcache works with all targets * --docCmd:skip now skips compiling snippets; 50X speedup for doc/manual.rst
Diffstat (limited to 'lib')
-rw-r--r-- | lib/std/compilesettings.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/std/compilesettings.nim b/lib/std/compilesettings.nim index 12204658d..b9b13175d 100644 --- a/lib/std/compilesettings.nim +++ b/lib/std/compilesettings.nim @@ -29,6 +29,8 @@ type linkOptions, ## additional options passed to the linker compileOptions, ## additional options passed to the C/C++ compiler ccompilerPath ## the path to the C/C++ compiler + backend ## the backend (eg: c|cpp|objc|js); both `nim doc --backend:js` + ## and `nim js` would imply backend=js MultipleValueSetting* {.pure.} = enum ## \ ## settings resulting in a seq of string values |