| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The toolset is now called `v142`. Use matching flag tables.
Fixes: #18834
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
d44f81c217 VS: Exclude VS 2019 instances when using VS 2017 generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2775
|
| |
| |
| |
| |
| |
| |
| | |
Filter instances reported by the VS Installer to consider only VS 2017
instances for the "Visual Studio 15 2017" generator.
Fixes: #18721
|
|/
|
|
|
|
|
|
|
|
| |
Enterprise WDK is a command line build enviornment that does not require
any installation prior to use.
More information and download can be found here:
https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/using-the-enterprise-wdk
Signed-off-by: Jon Doron <arilou@gmail.com>
|
|
|
|
| |
We already detect the VS toolset version. Expose it to clients.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`. Use `clang-format` version 6.0.
* If you reached this commit for a line in `git blame`, re-run the blame
operation starting at the parent of this commit to see older history
for the content.
* See the parent commit for instructions to rebase a change across this
style transition commit.
|
|
|
|
|
|
|
|
|
|
| |
Visual Studio 2017 supports multiple instances installed on a single
machine. We use the Visual Studio Installer tool to enumerate instances
and select one. Once we select an instance for a given build tree, save
the result in `CMAKE_GENERATOR_INSTANCE` so we can re-configure the tree
with the same instance on future re-runs of CMake.
Fixes: #17268
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The `Microsoft.VisualStudio.Component.VC.Tools.x86.x64` component is
not the only way a VS instance may provide the `cl` compiler tool.
For example, VS 2017 Express Edition does not install that component.
Instead search for the tools directly on disk within an instance.
Suggested-by: Rich Chiodo <rchiodo@microsoft.com>
Fixes: #17349
|
| |
|
|
|
|
| |
This also adds a missing conversion to unix slashes in one code path.
|
| |
|
|
|
|
|
|
|
|
|
| |
In the `Visual Studio 15 2017` generator, if the `VS150COMNTOOLS`
environment variable points at a specific VS 2017 instance reported by
the Visual Studio Installer tool, use that as the preferred instance.
Inspired-by: Iyyappa Murugandi <iyyappam@microsoft.com>
Fixes: #16846
|
|
|
|
|
| |
This method short-circuits when an instance has already been chosen, so
avoid duplicating this check at call sites.
|
|
|
|
|
|
|
| |
Fix logic in cmVSSetupAPIHelper::IsVS2017Installed to work correctly on
repeat calls.
Closes: #16549
|
|
VS 2017 exports a COM component which can be queried to find if VS 2017
is installed and also other components such as VC toolset and Windows
SDKs. Add a helper class to interact with this interface.
|