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

Function compile_c_cpp

src/tools/msvc.py:392–397  ·  view source on GitHub ↗
(targets,sources=None)

Source from the content-addressed store, hash-verified

390 function=compile_cpp_preprocess)
391
392def compile_c_cpp(targets,sources=None):
393 pch_header = bjam.call('get-target-variable',targets[0],'PCH_HEADER')
394 pch_file = bjam.call('get-target-variable',targets[0],'PCH_FILE')
395 if pch_header: get_manager().engine().add_dependency(targets[0],pch_header)
396 if pch_file: get_manager().engine().add_dependency(targets[0],pch_file)
397 bjam.call('set-target-variable',targets,'PDB_NAME', os.path.splitext(targets[0])[0] + '.pdb')
398
399def preprocess_c_cpp(targets,sources=None):
400 #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