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

Public Member Functions

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 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 find_library_file (self, dirs, lib, debug=0)
 
def object_filenames (self, source_filenames, strip_dir=0, output_dir='')
 
def preprocess (self, source, output_file=None, macros=None, include_dirs=None, extra_preargs=None, extra_postargs=None)
 

Data Fields

 cc
 
 linker
 
 lib
 
 preprocess_options
 
 compile_options
 
 compile_options_debug
 
 ldflags_shared
 
 ldflags_shared_debug
 
 ldflags_static
 
 ldflags_exe
 
 ldflags_exe_debug
 

Static Public Attributes

 compiler_type
 
 executables
 
 src_extensions
 
 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 the Borland C/C++
compiler, 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 
)

◆ 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 = '' 
)

◆ preprocess()

def preprocess (   self,
  source,
  output_file = None,
  macros = None,
  include_dirs = None,
  extra_preargs = None,
  extra_postargs = None 
)

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

◆ ldflags_exe

ldflags_exe

◆ ldflags_exe_debug

ldflags_exe_debug

◆ ldflags_shared

ldflags_shared

◆ ldflags_shared_debug

ldflags_shared_debug

◆ ldflags_static

ldflags_static

◆ lib

lib

◆ linker

linker

◆ obj_extension

obj_extension
static

◆ preprocess_options

preprocess_options

◆ 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: