This commit is contained in:
Ganesh Viswanathan 2019-01-20 16:12:51 -06:00
commit 186e78f8c6

View file

@ -226,8 +226,9 @@ macro cCompile*(path: static string, mode = "c"): untyped =
## cCompile("file.c") ## cCompile("file.c")
## cCompile("path/to/*.c") ## cCompile("path/to/*.c")
## ##
## ``mode`` can be ``c`` or ``cpp`` and recursively searches for code files in ## ``mode`` recursively searches for code files in ``path``.
## specified path. ``c`` = ``*.c``, ``cpp`` = ``*.C``, ``*.cpp``, ``*.c++``, ``*.cc``, ``*.cxx`` ##
## ``c`` searches for ``*.c`` whereas ``cpp`` searches for ``*.C *.cpp *.c++ *.cc *.cxx``
## ##
## .. code-block:: nim ## .. code-block:: nim
## ##