Esempio n. 1
0
 def __init__(self, name, sources,
              include_dirs=None,
              define_macros=None,
              undef_macros=None,
              library_dirs=None,
              libraries=None,
              runtime_library_dirs=None,
              extra_objects=None,
              extra_compile_args=None,
              extra_link_args=None,
              export_symbols=None,
              swig_opts=None,
              depends=None,
              language=None,
              f2py_options=None,
              module_dirs=None,):
     old_extension.Extension.__init__(self, name, sources,
                                  include_dirs, define_macros, undef_macros,
                                  convert_ulist(library_dirs),
                                  convert_ulist(libraries),
                                  convert_ulist(runtime_library_dirs),
                                  extra_objects,
                                  extra_compile_args, extra_link_args,
                                  export_symbols, swig_opts, depends,
                                  language, f2py_options, module_dirs,)
Esempio n. 2
0
 def __init__(self, testfile, extra_sources=(),
              include_dirs=None,
              define_macros=None,
              undef_macros=None,
              library_dirs=None,
              libraries=None,
              runtime_library_dirs=None,
              extra_objects=None,
              extra_compile_args=None,
              extra_link_args=None,
              export_symbols=None,
              swig_opts=None,
              depends=None,
              language=None,
              f2py_options=None,
              module_dirs=None,):
     name = os.path.splitext(testfile)[0]
     sources = [testfile] + extra_sources
     Executable.__init__(self, name, sources,
                         include_dirs, define_macros, undef_macros,
                         convert_ulist(library_dirs),
                         convert_ulist(libraries),
                         convert_ulist(runtime_library_dirs),
                         extra_objects,
                         extra_compile_args, extra_link_args,
                         export_symbols, swig_opts, depends,
                         language, f2py_options, module_dirs,)