Skip to content

Apply extra templates on vs2019 and vs2026 - #8552

Closed
danoli3 wants to merge 2 commits into
openframeworks:masterfrom
danoli3:vscode-template-vs2019-vs2026
Closed

Apply extra templates on vs2019 and vs2026#8552
danoli3 wants to merge 2 commits into
openframeworks:masterfrom
danoli3:vscode-template-vs2019-vs2026

Conversation

@danoli3

@danoli3 danoli3 commented Sep 2, 2026

Copy link
Copy Markdown
Member

Why

scripts/templates/vscode already exists and is labeled Visual Studio Code. Its template.config listed vs as a supported overlay platform, so Windows+MSVC users on VS 2022 (vs) can pick it today.

PG compares PLATFORMS with an exact token (platform == target). vs2019 and vs2026 do not match vs, so the VSCode overlay (and other extras that only listed vs) never applied for those two.

Change

Add vs2019 vs2026 next to vs on:

  • scripts/templates/vscode/template.config (the reported gap)
  • the other extra templates that already listed vs: gitignore, nowindow, unittest, gl3.1–gl4.5

No new VSCode template; this only extends where the existing overlay is allowed.

PG matches template.config PLATFORMS with an exact token, so "vs"
does not cover vs2019/vs2026. Add those targets to vscode and the
other extra templates that already listed vs, so VSCode overlay,
gitignore, GL, nowindow, and unittest apply for VS 2019 and 2026.
MSYS2's default environment is UCRT64 (MINGW64 is deprecated).
The vscode template still launched msys2_shell.cmd -mingw64, so
VSCode builds did not match install_dependencies.sh (ucrt64).
@danoli3 danoli3 closed this Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant