MCPcopy Create free account
hub / github.com/boostorg/build / compile_c_cpp

Function compile_c_cpp

v2/tools/msvc.py:388–393  ·  view source on GitHub ↗
(targets,sources=None)

Source from the content-addressed store, hash-verified

386 bound_list=['PDB_NAME'])
387
388def compile_c_cpp(targets,sources=None):
389 pch_header = bjam.call('get-target-variable',targets[0],'PCH_HEADER')
390 pch_file = bjam.call('get-target-variable',targets[0],'PCH_FILE')
391 if pch_header: get_manager().engine().add_dependency(targets[0],pch_header)
392 if pch_file: get_manager().engine().add_dependency(targets[0],pch_file)
393 bjam.call('set-target-variable',targets,'PDB_NAME', os.path.splitext(targets[0])[0] + '.pdb')
394
395def preprocess_c_cpp(targets,sources=None):
396 #same as above

Callers 3

compile_cFunction · 0.85
compile_cppFunction · 0.85
preprocess_c_cppFunction · 0.85

Calls 2

get_managerFunction · 0.90
engineMethod · 0.80

Tested by

no test coverage detected