Added Visual Studio project generation.

This commit is contained in:
Patrick Wuttke
2025-07-08 14:34:20 +02:00
parent 8770bd97dc
commit af53bf6084
7 changed files with 486 additions and 39 deletions

View File

@@ -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 %}
]
}