aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2018-08-15 14:41:41 -0500
committerGanesh Viswanathan <dev@genotrance.com>2018-08-15 14:41:41 -0500
commit1e26d3e6eb9ab1036d4992476b71ac02616af4ed (patch)
treec6850948c153ab15784f9d252e58d051cbe9d0fe /README.md
parent1a29b9f0f8fc08e2d6eba283026320d1aef04cc2 (diff)
downloadnimgen-1e26d3e6eb9ab1036d4992476b71ac02616af4ed.tar.gz
nimgen-1e26d3e6eb9ab1036d4992476b71ac02616af4ed.zip
More flexibility in compile flag
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index d8465cb..66db546 100644
--- a/README.md
+++ b/README.md
@@ -167,7 +167,7 @@ The following keys apply to library source code and help with generating the .ni
Multiple entries for the all following keys are possible by appending any .string to the key. E.g. dynlib.win, compile.dir
-```compile``` = file or dir of files of source code to {.compile.} into generated .nim
+```compile``` = file or dir of files of source code to {.compile.} into generated .nim. If directory, picks *.c if C mode and *.cxx, *.cpp, *.cc, *.c++ and *.C for cpp mode. Dir can also include wildcards. e.g. compile = """dir/A*.cxx"""
```pragma``` = pragmas to define in generated .nim file. E.g. pragma = "passL: \"-lssl\"" => {.passL: "-lssl".}