Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
support DEBUG_MESH flag in sfepy/fem/extmods/
  • Loading branch information
rc committed May 20, 2013
1 parent cbcd337 commit 07e3797
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sfepy/fem/extmods/setup.py
Expand Up @@ -17,6 +17,8 @@ def configuration(parent_package='', top_path=None):
('SFEPY_PLATFORM', os_flag[site_config.system()])]
if '-DDEBUG_FMF' in site_config.debug_flags():
defines.append(('DEBUG_FMF', None))
if '-DDEBUG_MESH' in site_config.debug_flags():
defines.append(('DEBUG_MESH', None))

common_src = ['fmfield.c', 'refmaps.c', 'geommech.c', 'common_python.c']

Expand Down
3 changes: 2 additions & 1 deletion site_cfg_template.py
Expand Up @@ -17,7 +17,8 @@
# extension modules.
link_flags = ''

# Can be '' or '-DDEBUG_FMF'. For developers internal use only.
# Can be '' or one or several from '-DDEBUG_FMF', '-DDEBUG_MESH'. For
# developers internal use only.
debug_flags = ''

# Sphinx documentation uses numpydoc extension. Set the path here in case it is
Expand Down

0 comments on commit 07e3797

Please sign in to comment.