OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, verbose=0, dry_run=0, force=0) |
def | initialize (self) |
def | object_filenames (self, source_filenames, strip_dir=0, output_dir='') |
def | compile (self, sources, output_dir=None, macros=None, include_dirs=None, debug=0, extra_preargs=None, extra_postargs=None, depends=None) |
def | create_static_lib (self, objects, output_libname, output_dir=None, debug=0, target_lang=None) |
def | link (self, target_desc, objects, output_filename, output_dir=None, libraries=None, library_dirs=None, runtime_library_dirs=None, export_symbols=None, debug=0, extra_preargs=None, extra_postargs=None, build_temp=None, target_lang=None) |
def | library_dir_option (self, dir) |
def | runtime_library_dir_option (self, dir) |
def | library_option (self, lib) |
def | find_library_file (self, dirs, lib, debug=0) |
def | find_exe (self, exe) |
def | get_msvc_paths (self, path, platform='x86') |
def | set_path_env_var (self, name) |
Data Fields | |
initialized | |
cc | |
linker | |
lib | |
rc | |
mc | |
preprocess_options | |
compile_options | |
compile_options_debug | |
ldflags_shared | |
ldflags_shared_debug | |
ldflags_static | |
Static Public Attributes | |
compiler_type | |
executables | |
src_extensions | |
res_extension | |
obj_extension | |
static_lib_extension | |
shared_lib_extension | |
static_lib_format | |
shared_lib_format | |
exe_extension | |
Concrete class that implements an interface to Microsoft Visual C++, as defined by the CCompiler abstract class.
def __init__ | ( | self, | |
verbose = 0 , |
|||
dry_run = 0 , |
|||
force = 0 |
|||
) |
def compile | ( | self, | |
sources, | |||
output_dir = None , |
|||
macros = None , |
|||
include_dirs = None , |
|||
debug = 0 , |
|||
extra_preargs = None , |
|||
extra_postargs = None , |
|||
depends = None |
|||
) |
def create_static_lib | ( | self, | |
objects, | |||
output_libname, | |||
output_dir = None , |
|||
debug = 0 , |
|||
target_lang = None |
|||
) |
def find_exe | ( | self, | |
exe | |||
) |
Return path to an MSVC executable program. Tries to find the program in several places: first, one of the MSVC program search paths from the registry; next, the directories in the PATH environment variable. If any of those work, return an absolute path that is known to exist. If none of them work, just return the original program name, 'exe'.
def find_library_file | ( | self, | |
dirs, | |||
lib, | |||
debug = 0 |
|||
) |
def get_msvc_paths | ( | self, | |
path, | |||
platform = 'x86' |
|||
) |
Get a list of devstudio directories (include, lib or path). Return a list of strings. The list will be empty if unable to access the registry or appropriate registry keys not found.
def initialize | ( | self | ) |
def library_dir_option | ( | self, | |
dir | |||
) |
def library_option | ( | self, | |
lib | |||
) |
def link | ( | self, | |
target_desc, | |||
objects, | |||
output_filename, | |||
output_dir = None , |
|||
libraries = None , |
|||
library_dirs = None , |
|||
runtime_library_dirs = None , |
|||
export_symbols = None , |
|||
debug = 0 , |
|||
extra_preargs = None , |
|||
extra_postargs = None , |
|||
build_temp = None , |
|||
target_lang = None |
|||
) |
def object_filenames | ( | self, | |
source_filenames, | |||
strip_dir = 0 , |
|||
output_dir = '' |
|||
) |
def runtime_library_dir_option | ( | self, | |
dir | |||
) |
def set_path_env_var | ( | self, | |
name | |||
) |
Set environment variable 'name' to an MSVC path type value. This is equivalent to a SET command prior to execution of spawned commands.
cc |
compile_options |
compile_options_debug |
|
static |
|
static |
|
static |
initialized |
ldflags_shared |
ldflags_shared_debug |
ldflags_static |
lib |
linker |
mc |
|
static |
preprocess_options |
rc |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |