1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00
Files
vcmi/CI/conan/base/msvc
Andrey Filipenkov a3f08c2217 [conan] add MSVC support
also removes all mentions of vcpkg and cross-building from Linux
2025-08-28 16:05:11 +03:00

22 lines
631 B
Plaintext

include(common)
[settings]
compiler=msvc
compiler.cppstd=17
compiler.runtime=dynamic
compiler.version=194
os=Windows
[conf]
# https://walbourn.github.io/a-brief-history-of-windows-sdks/
# https://learn.microsoft.com/en-us/cpp/porting/modifying-winver-and-win32-winnt
# https://learn.microsoft.com/en-us/windows/win32/WinProg/using-the-windows-headers
{% set _WIN32_WINNT_WIN7 = '0x0601' %}
{% set NTDDI_WIN7 = '0x06010000' %}
{% set win7_defines = [
'_WIN32_WINNT={}'.format(_WIN32_WINNT_WIN7),
'WINVER={}'.format(_WIN32_WINNT_WIN7),
'NTDDI_VERSION={}'.format(NTDDI_WIN7),
] %}
tools.build:defines={{ win7_defines }}