summaryrefslogtreecommitdiffstats
path: root/Source/cmVSSetupHelper.h
Commit message (Collapse)AuthorAgeFilesLines
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-2/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* cmVSSetupHelper: Remove unused SmartBSTR copy operationsBrad King2019-08-261-22/+2
| | | | | For our use case we do not actually need to copy these. Mark the operations as `= delete` to simplify the code.
* cmVSSetupHelper: Fix SmartBSTR copy operationsBrad King2019-08-261-2/+4
| | | | | | | | | Fix the SmartBSTR copy constructor and copy assignment operator added by commit 18c8278b62 (VS: Add helper class to interact with Visual Studio Installer, 2016-12-14, v3.8.0-rc1~93^2~4) to use the string from the source of the copy. Issue: #19610
* cleanup: Prefer compiler provided special member functionsRegina Pfeifer2019-01-251-2/+0
|
* VS: Parameterize cmVSSetupAPIHelper instances with VS versionBrad King2019-01-111-2/+4
|
* cmVSSetupHelper: Support Enterprise WDK build enviornmentJon Doron2018-11-271-0/+1
| | | | | | | | | | 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>
* cmVSSetupHelper: Expose default toolset versionBasil Fierz2018-06-221-0/+2
| | | | We already detect the VS toolset version. Expose it to clients.
* cmVSSetupHelper: Use in-class member initializationBrad King2018-06-221-9/+4
|
* Revise C++ coding style using clang-format-6.0Kitware Robot2018-06-011-1/+2
| | | | | | | | | | | | 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.
* cmVSSetupHelper: Add option to specify an instanceBrad King2017-10-191-0/+4
|
* VS: Detect compiler component in VS 2017 instances more reliablyBrad King2017-10-161-2/+1
| | | | | | | | | | 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
* cmVSSetupHelper: Factor out install location string constructionBrad King2017-10-161-0/+2
| | | | This also adds a missing conversion to unix slashes in one code path.
* VS: Add helper class to interact with Visual Studio InstallerIyyappa Murugandi2016-12-161-0/+154
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.