|
|
initialize_options(self)
Set default values for all the options that this command supports. |
|
|
|
|
finalize_options(self)
Set final values for all the options that this command supports. |
|
|
|
|
run(self)
A command's raison d'etre: carry out the action it exists to perform,
controlled by the options initialized in 'initialize_options()',
customized by other commands, the setup script, the command-line, and
config files, and finalized in 'finalize_options()'. |
|
|
|
|
_check_compiler(self)
Check that 'self.compiler' really is a CCompiler object; if not, make
it one. |
|
|
|
|
| _gen_temp_sourcefile(self,
body,
headers,
lang) |
|
|
|
|
| _preprocess(self,
body,
headers,
include_dirs,
lang) |
|
|
|
|
| _compile(self,
body,
headers,
include_dirs,
lang) |
|
|
|
|
| _link(self,
body,
headers,
include_dirs,
libraries,
library_dirs,
lang) |
|
|
|
|
|
|
|
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. |
|
|
|
|
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'. |
|
|
|
|
try_compile(self,
body,
headers=None,
include_dirs=None,
lang='c')
Try to compile a source file built from 'body' and 'headers'. |
|
|
|
|
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. |
|
|
|
|
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'. |
|
|
|
|
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. |
|
|
|
|
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. |
|
|
|
|
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. |
|
|
|
Inherited from cmd.Command:
__getattr__,
__init__,
announce,
copy_file,
copy_tree,
debug_print,
dump_options,
ensure_dirname,
ensure_filename,
ensure_finalized,
ensure_string,
ensure_string_list,
execute,
get_command_name,
get_finalized_command,
get_sub_commands,
make_archive,
make_file,
mkpath,
move_file,
reinitialize_command,
run_command,
set_undefined_options,
spawn,
warn
|