21 lines
717 B
Django/Jinja
21 lines
717 B
Django/Jinja
{
|
|
"configurations": [
|
|
{%- for executable in project.executables -%}
|
|
{%- for build_type in project.build_types -%}
|
|
{%- set build_type_name = build_type | capitalize %}
|
|
{
|
|
"name": "{{ executable.name }} ({{ build_type | capitalize }})",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "{{ executable.filename(build_type) | escape_path }}",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"cwd": "${workspaceFolder}",
|
|
"environment": [],
|
|
"console": "integratedTerminal",
|
|
"preLaunchTask": "{{ executable.name }} {{ build_type_name }}"
|
|
},
|
|
{%- endfor %}
|
|
{%- endfor %}
|
|
]
|
|
} |