Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winsdk_version #3487

Merged
merged 6 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions reference/commands/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ Displays all the Conan built-in configurations. There are 2 groups:
tools.intel:setvars_args: Custom arguments to be passed onto the setvars.sh|bat script from Intel oneAPI
tools.meson.mesontoolchain:backend: Any Meson backend: ninja, vs, vs2010, vs2012, vs2013, vs2015, vs2017, vs2019, xcode
tools.meson.mesontoolchain:extra_machine_files: List of paths for any additional native/cross file references to be appended to the existing Conan ones
tools.microsoft:winsdk_version: "Use this winsdk_version in vcvars
memsharded marked this conversation as resolved.
Show resolved Hide resolved
tools.microsoft.bash:active: If Conan is already running inside bash terminal in Windows
tools.microsoft.bash:path: The path to the shell to run when conanfile.win_bash==True
tools.microsoft.bash:subsystem: The subsystem to be used when conanfile.win_bash==True. Possible values: msys2, msys, cygwin, wsl, sfu
Expand Down
1 change: 1 addition & 0 deletions reference/config_files/global_conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ To list all the possible configurations available, run :command:`conan config li
tools.intel:setvars_args: Custom arguments to be passed onto the setvars.sh|bat script from Intel oneAPI
tools.meson.mesontoolchain:backend: Any Meson backend: ninja, vs, vs2010, vs2012, vs2013, vs2015, vs2017, vs2019, xcode
tools.meson.mesontoolchain:extra_machine_files: List of paths for any additional native/cross file references to be appended to the existing Conan ones
tools.microsoft:winsdk_version: "Use this winsdk_version in vcvars
memsharded marked this conversation as resolved.
Show resolved Hide resolved
tools.microsoft.bash:active: If Conan is already running inside bash terminal in Windows
tools.microsoft.bash:path: The path to the shell to run when conanfile.win_bash==True
tools.microsoft.bash:subsystem: The subsystem to be used when conanfile.win_bash==True. Possible values: msys2, msys, cygwin, wsl, sfu
Expand Down
1 change: 1 addition & 0 deletions reference/tools/cmake/cmaketoolchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ CMakeToolchain is affected by these ``[conf]`` variables:
- **tools.build:tools.apple:enable_arc** boolean value to enable/disable ARC Apple Clang flags, e.g., ``CMAKE_XCODE_ATTRIBUTE_CLANG_ENABLE_OBJC_ARC``.
- **tools.build:tools.apple:enable_visibility** boolean value to enable/disable Visibility Apple Clang flags, e.g., ``CMAKE_XCODE_ATTRIBUTE_GCC_SYMBOLS_PRIVATE_EXTERN``.
- **tools.build:sysroot** defines the value of ``CMAKE_SYSROOT``.
- **tools.microsoft:winsdk_version** Defines the ``CMAKE_SYSTEM_VERSION`` or the ``CMAKE_GENERATOR_TOOLSET`` according to CMake policy ``CMP0149``
franramirez688 marked this conversation as resolved.
Show resolved Hide resolved
- **tools.build:compiler_executables** dict-like Python object which specifies the
compiler as key and the compiler executable path as value. Those keys will be mapped as
follows:
Expand Down
1 change: 1 addition & 0 deletions reference/tools/microsoft/msbuildtoolchain.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ conf

- ``tools.microsoft.msbuildtoolchain:compile_options`` dict-like object of extra compile options to be added to ``<ClCompile>`` section.
The dict will be translated as follows: ``<[KEY]>[VALUE]</[KEY]>``.
- ``tools.microsoft:winsdk_version`` value will define ``<WindowsTargetPlatformVersion>`` in the toolchain file
franramirez688 marked this conversation as resolved.
Show resolved Hide resolved
- ``tools.build:cxxflags`` list of extra C++ flags that will be appended to ``<AdditionalOptions>`` section from ``<ClCompile>`` and ``<ResourceCompile>`` one.
- ``tools.build:cflags`` list of extra of pure C flags that will be appended to ``<AdditionalOptions>`` section from ``<ClCompile>`` and ``<ResourceCompile>`` one.
- ``tools.build:sharedlinkflags`` list of extra linker flags that will be appended to ``<AdditionalOptions>`` section from ``<Link>`` one.
Expand Down
2 changes: 1 addition & 1 deletion reference/tools/microsoft/vcvars.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ conf

- ``tools.microsoft.msbuild:installation_path`` indicates the path to Visual Studio installation folder.
For instance: ``C:\Program Files (x86)\Microsoft Visual Studio\2019\Community``, ``C:\Program Files (x86)\Microsoft Visual Studio 14.0``, etc.

- ``tools.microsoft:winsdk_version`` will define the specific winsdk version in the vcvars command line
franramirez688 marked this conversation as resolved.
Show resolved Hide resolved

Reference
-----------
Expand Down