(targets,sources=None)
| 390 | function=compile_cpp_preprocess) |
| 391 | |
| 392 | def 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 | |
| 399 | def preprocess_c_cpp(targets,sources=None): |
| 400 | #same as above |
no test coverage detected