Added Visual Studio project generation.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"configurations": [
|
||||
{% for executable in project.executables %}
|
||||
{% for build_type in project.build_types %}
|
||||
{% set build_type_name = build_type | capitalize -%}
|
||||
{%- 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",
|
||||
@@ -12,9 +12,10 @@
|
||||
"stopAtEntry": false,
|
||||
"cwd": "${workspaceFolder}",
|
||||
"environment": [],
|
||||
"console": "integratedTerminal"
|
||||
}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
"console": "integratedTerminal",
|
||||
"preLaunchTask": "{{ executable.name }} {{ build_type_name }}"
|
||||
},
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user