3.1.41.2.1. waf_tools.vscode.build_c_cpp_properties
- waf_tools.vscode.build_c_cpp_properties(bld: BuildContext, vscode_dir: Node, tg: task_gen) None
Patch
c_cpp_properties.jsonwith project-specific defines and includes.Reads the template
c_cpp_properties.jsonfromvscode_dir, then:Populates the
defineslist with compiler built-in defines (ifuse_compiler_definesis set) and any extra defines from the task generator.Resolves include paths from
include_dirs,glob_patternsand dynamic project paths (ifuse_dynamic_includesis set).Appends TI ARM CGT compiler and HALCoGen include paths (if
use_compiler_includesis set).Sets GCC as the dummy
compilerPathfor IntelliSense.
- Parameters:
bld – The active build context.
vscode_dir – The target
.vscodedirectory node.tg – The task generator providing configuration attributes.