| |
- __getattr__(self, attr) from distutils.cmd.Command
- __init__(self, dist) from distutils.cmd.Command
- _check_compiler(self)
- Check that 'self.compiler' really is a CCompiler object;
if not, make it one.
- _clean(self, *filenames)
- _compile(self, body, headers, include_dirs, lang)
- _ensure_stringlike(self, option, what, default=None) from distutils.cmd.Command
- _ensure_tested_string(self, option, tester, what, error_fmt, default=None) from distutils.cmd.Command
- _gen_temp_sourcefile(self, body, headers, lang)
- _link(self, body, headers, include_dirs, libraries, library_dirs, lang)
- _preprocess(self, body, headers, include_dirs, lang)
- announce(self, msg, level=1) from distutils.cmd.Command
- check_func(self, func, headers=None, include_dirs=None, libraries=None, library_dirs=None, decl=0, call=0)
- Determine if function 'func' is available by constructing a
source file that refers to 'func', and compiles and links it.
If everything succeeds, returns true; otherwise returns false.
The constructed source file starts out by including the header
files listed in 'headers'. If 'decl' is true, it then declares
'func' (as "int func()"); you probably shouldn't supply 'headers'
and set 'decl' true in the same call, or you might get errors about
a conflicting declarations for 'func'. Finally, the constructed
'main()' function either references 'func' or (if 'call' is true)
calls it. 'libraries' and 'library_dirs' are used when
linking.
- check_header(self, header, include_dirs=None, library_dirs=None, lang='c')
- Determine if the system header file named by 'header_file'
exists and can be found by the preprocessor; return true if so,
false otherwise.
- check_lib(self, library, library_dirs=None, headers=None, include_dirs=None, other_libraries=[])
- Determine if 'library' is available to be linked against,
without actually checking that any particular symbols are provided
by it. 'headers' will be used in constructing the source file to
be compiled, but the only effect of this is to check if all the
header files listed are available. Any libraries listed in
'other_libraries' will be included in the link, in case 'library'
has symbols that depend on other libraries.
- copy_file(self, infile, outfile, preserve_mode=1, preserve_times=1, link=None, level=1) from distutils.cmd.Command
- copy_tree(self, infile, outfile, preserve_mode=1, preserve_times=1, preserve_symlinks=0, level=1) from distutils.cmd.Command
- debug_print(self, msg) from distutils.cmd.Command
- dump_options(self, header=None, indent='') from distutils.cmd.Command
- ensure_dirname(self, option) from distutils.cmd.Command
- ensure_filename(self, option) from distutils.cmd.Command
- ensure_finalized(self) from distutils.cmd.Command
- ensure_string(self, option, default=None) from distutils.cmd.Command
- ensure_string_list(self, option) from distutils.cmd.Command
- execute(self, func, args, msg=None, level=1) from distutils.cmd.Command
- finalize_options(self)
- get_command_name(self) from distutils.cmd.Command
- get_finalized_command(self, command, create=1) from distutils.cmd.Command
- get_sub_commands(self) from distutils.cmd.Command
- initialize_options(self)
- make_archive(self, base_name, format, root_dir=None, base_dir=None) from distutils.cmd.Command
- make_file(self, infiles, outfile, func, args, exec_msg=None, skip_msg=None, level=1) from distutils.cmd.Command
- mkpath(self, name, mode=511) from distutils.cmd.Command
- move_file(self, src, dst, level=1) from distutils.cmd.Command
- reinitialize_command(self, command, reinit_subcommands=0) from distutils.cmd.Command
- run(self)
- run_command(self, command) from distutils.cmd.Command
- search_cpp(self, pattern, body=None, headers=None, include_dirs=None, lang='c')
- Construct a source file (just like 'try_cpp()'), run it through
the preprocessor, and return true if any line of the output matches
'pattern'. 'pattern' should either be a compiled regex object or a
string containing a regex. If both 'body' and 'headers' are None,
preprocesses an empty file -- which can be useful to determine the
symbols the preprocessor and compiler set by default.
- set_undefined_options(self, src_cmd, *option_pairs) from distutils.cmd.Command
- spawn(self, cmd, search_path=1, level=1) from distutils.cmd.Command
- try_compile(self, body, headers=None, include_dirs=None, lang='c')
- Try to compile a source file built from 'body' and 'headers'.
Return true on success, false otherwise.
- try_cpp(self, body=None, headers=None, include_dirs=None, lang='c')
- Construct a source file from 'body' (a string containing lines
of C/C++ code) and 'headers' (a list of header files to include)
and run it through the preprocessor. Return true if the
preprocessor succeeded, false if there were any errors.
('body' probably isn't of much use, but what the heck.)
- try_link(self, body, headers=None, include_dirs=None, libraries=None, library_dirs=None, lang='c')
- Try to compile and link a source file, built from 'body' and
'headers', to executable form. Return true on success, false
otherwise.
- try_run(self, body, headers=None, include_dirs=None, libraries=None, library_dirs=None, lang='c')
- Try to compile, link to an executable, and run a program
built from 'body' and 'headers'. Return true on success, false
otherwise.
- warn(self, msg) from distutils.cmd.Command
|