OpenQuizz
Une application de gestion des contenus pédagogiques
MSVCCompiler Class Reference
Inheritance diagram for MSVCCompiler:
Collaboration diagram for MSVCCompiler:

Public Member Functions

def __init__ (self, verbose=0, dry_run=0, force=0)
 
def initialize (self, plat_name=None)
 
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 spawn (self, cmd)
 
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)
 

Data Fields

 plat_name
 
 initialized
 
 cc
 
 linker
 
 lib
 
 rc
 
 mc
 
 mt
 
 preprocess_options
 
 compile_options
 
 compile_options_debug
 
 ldflags_exe
 
 ldflags_exe_debug
 
 ldflags_shared
 
 ldflags_shared_debug
 
 ldflags_static
 
 ldflags_static_debug
 

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
 

Detailed Description

Concrete class that implements an interface to Microsoft Visual C++,
   as defined by the CCompiler abstract class.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  verbose = 0,
  dry_run = 0,
  force = 0 
)

Member Function Documentation

◆ compile()

def compile (   self,
  sources,
  output_dir = None,
  macros = None,
  include_dirs = None,
  debug = 0,
  extra_preargs = None,
  extra_postargs = None,
  depends = None 
)

◆ create_static_lib()

def create_static_lib (   self,
  objects,
  output_libname,
  output_dir = None,
  debug = 0,
  target_lang = None 
)

◆ find_library_file()

def find_library_file (   self,
  dirs,
  lib,
  debug = 0 
)

◆ initialize()

def initialize (   self,
  plat_name = None 
)

◆ library_dir_option()

def library_dir_option (   self,
  dir 
)

◆ library_option()

def library_option (   self,
  lib 
)

◆ link()

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 
)

◆ object_filenames()

def object_filenames (   self,
  source_filenames,
  strip_dir = 0,
  output_dir = '' 
)

◆ runtime_library_dir_option()

def runtime_library_dir_option (   self,
  dir 
)

◆ spawn()

def spawn (   self,
  cmd 
)

Field Documentation

◆ cc

cc

◆ compile_options

compile_options

◆ compile_options_debug

compile_options_debug

◆ compiler_type

compiler_type
static

◆ exe_extension

exe_extension
static

◆ executables

executables
static

◆ initialized

initialized

◆ ldflags_exe

ldflags_exe

◆ ldflags_exe_debug

ldflags_exe_debug

◆ ldflags_shared

ldflags_shared

◆ ldflags_shared_debug

ldflags_shared_debug

◆ ldflags_static

ldflags_static

◆ ldflags_static_debug

ldflags_static_debug

◆ lib

lib

◆ linker

linker

◆ mc

mc

◆ mt

mt

◆ obj_extension

obj_extension
static

◆ plat_name

plat_name

◆ preprocess_options

preprocess_options

◆ rc

rc

◆ res_extension

res_extension
static

◆ shared_lib_extension

shared_lib_extension
static

◆ shared_lib_format

shared_lib_format
static

◆ src_extensions

src_extensions
static

◆ static_lib_extension

static_lib_extension
static

◆ static_lib_format

static_lib_format
static

The documentation for this class was generated from the following file: