curl-curl/projects/Windows/tmpl
Viktor Szakats b17ef873ae
windows: bump minimum to Vista (from XP)
After this patch curl requires targeting Vista or newer, and a toolchain
with Vista support.

Supported MSVC compilers (VS2010+) all support Vista:
- VS2012+ target Win8 (or later) by default.
- VS2010 targets Win7 by default.

Supported mingw-w64 versions (v3+) all support Vista:
- mingw-w64 v9+ target Win10 by default.
- mingw-w64 v8 and older target Server 2003 (~XP) by default.
  After this patch it may be necessary to override the default Windows
  target version to Vista (or newer) via:
  autotools: `CPPFLAGS=-D_WIN32_WINNT=0x0600`
  cmake: `-DCURL_TARGET_WINDOWS_VERSION=0x0600`
- mingw-w64 v6+ allow changing the default at toolchain build-time.

Notes:
- For non-MSVC, non-mingw-w64 toolchains, `if_nametoindex` needs to be
  allowlisted in `curl_setup.h`, if they do support it.

Fixes #17985 (discussion)
Closes #18009
2026-01-17 11:41:49 +01:00
..
.gitattributes projects: generate from a single template 2025-08-26 09:41:30 +02:00
curl-all.sln projects: fix Windows project 'clean' function 2025-09-02 10:34:48 -04:00
curl.sln projects: fix Windows project 'clean' function 2025-09-02 10:34:48 -04:00
curl.vcxproj windows: bump minimum to Vista (from XP) 2026-01-17 11:41:49 +01:00
curl.vcxproj.filters projects: fix Windows project 'clean' function 2025-09-02 10:34:48 -04:00
libcurl.sln projects: fix Windows project 'clean' function 2025-09-02 10:34:48 -04:00
libcurl.vcxproj windows: bump minimum to Vista (from XP) 2026-01-17 11:41:49 +01:00
libcurl.vcxproj.filters projects: fix Windows project 'clean' function 2025-09-02 10:34:48 -04:00
README.txt projects: fix Windows project 'clean' function 2025-09-02 10:34:48 -04:00

The files in this directory are not meant to be opened with Visual Studio.

This directory contains template files that are used to generate project files
for legacy versions of Visual Studio 2010, 2012 and 2013. To generate the
files run generate.bat in the projects directory and refer to that directory's
README.