summaryrefslogtreecommitdiff
path: root/Cython/Compiler/CmdLine.py
diff options
context:
space:
mode:
authormongi3 <mongi3@gmail.com>2012-08-11 11:45:19 -0700
committermongi3 <mongi3@gmail.com>2012-08-11 11:45:19 -0700
commit959c98dca0b8a60faadd02f232f3286025423dbd (patch)
tree485bc611cc374c287a8b0f0bf75f0d3499332dd9 /Cython/Compiler/CmdLine.py
parent2812f9b2245b466603ee844d0d4c6d7604c199e4 (diff)
downloadcython-959c98dca0b8a60faadd02f232f3286025423dbd.tar.gz
added "--capi-reexport-cincludes" option
Diffstat (limited to 'Cython/Compiler/CmdLine.py')
-rw-r--r--Cython/Compiler/CmdLine.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py
index 06d295f23..574f892d5 100644
--- a/Cython/Compiler/CmdLine.py
+++ b/Cython/Compiler/CmdLine.py
@@ -37,6 +37,7 @@ Options:
--embed[=<method_name>] Generate a main() function that embeds the Python interpreter.
-2 Compile based on Python-2 syntax and code semantics.
-3 Compile based on Python-3 syntax and code semantics.
+ --capi-reexport-cincludes Add cincluded headers to any auto-generated header files.
--fast-fail Abort the compilation on the first error
--warning-error, -Werror Make all warnings into errors
--warning-extra, -Wextra Enable extra warnings
@@ -129,6 +130,8 @@ def parse_command_line(args):
options.language_level = 2
elif option == '-3':
options.language_level = 3
+ elif option == "--capi-reexport-cincludes":
+ options.capi_reexport_cincludes = True
elif option == "--fast-fail":
Options.fast_fail = True
elif option in ('-Werror', '--warning-errors'):