Permalink
Browse files

added build option to enable cygdb debugging

  • Loading branch information...
1 parent 99ae441 commit a95795917ca532fc673106ff8496df84d8e45d00 @scoder scoder committed Jun 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 setupinfo.py
View
4 setupinfo.py
@@ -131,6 +131,9 @@ def ext_modules(static_include_dirs, static_library_dirs,
runtime_library_dirs = runtime_library_dirs,
libraries = _libraries,
))
+ if CYTHON_INSTALLED and OPTION_WITH_CYTHON_GDB:
+ for ext in result:
+ ext.cython_gdb = True
return result
def find_dependencies(module):
@@ -347,6 +350,7 @@ def option_value(name):
OPTION_WITHOUT_ASSERT = has_option('without-assert')
OPTION_WITHOUT_THREADING = has_option('without-threading')
OPTION_WITHOUT_CYTHON = has_option('without-cython')
+OPTION_WITH_CYTHON_GDB = has_option('cython-gdb')
OPTION_WITH_REFNANNY = has_option('with-refnanny')
if OPTION_WITHOUT_CYTHON:
CYTHON_INSTALLED = False

0 comments on commit a957959

Please sign in to comment.