-
Notifications
You must be signed in to change notification settings - Fork 518
Open
Labels
Feature: kitsenhancementan enhancement to the product that is either not present or an improvement to an existing featurean enhancement to the product that is either not present or an improvement to an existing featurestale-exemptto use with close-stale-issues and close-old-issues botto use with close-stale-issues and close-old-issues bot
Milestone
Description
According to C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat
We can specify options for vs2015 or vs 2017
:usage_error
echo [ERROR:%~nx0] Error in script usage. The correct usage is:
goto :usage
:usage
echo Syntax:
echo %~nx0 [arch] [platform_type] [winsdk_version] [-vcvars_ver=vc_version] [-vcvars_spectre_libs=spectre_mode]
echo where :
echo [arch]: x86 ^| amd64 ^| x86_amd64 ^| x86_arm ^| x86_arm64 ^| amd64_x86 ^| amd64_arm ^| amd64_arm64
echo [platform_type]: {empty} ^| store ^| uwp
echo [winsdk_version] : full Windows 10 SDK number (e.g. 10.0.10240.0) or "8.1" to use the Windows 8.1 SDK.
echo [vc_version] : {none} for latest installed VC++ compiler toolset ^|
echo "14.0" for VC++ 2015 Compiler Toolset ^|
echo "14.xx" for the latest 14.xx.yyyyy toolset installed (e.g. "14.11") ^|
echo "14.xx.yyyyy" for a specific full version number (e.g. "14.11.25503")
echo [spectre_mode] : {none} for libraries without spectre mitigations ^|
echo "spectre" for libraries with spectre mitigations
echo:
echo The store parameter sets environment variables to support Universal Windows Platform application
echo development and is an alias for 'uwp'.
echo:
echo For example:
echo %~nx0 x86_amd64
echo %~nx0 x86_amd64 10.0.10240.0
echo %~nx0 x86_arm uwp 10.0.10240.0
echo %~nx0 x86_arm onecore 10.0.10240.0 -vcvars_ver=14.0
echo %~nx0 x64 8.1
echo %~nx0 x64 store 8.1
echo:
echo Please make sure either Visual Studio or C++ Build SKU is installed.
goto :end
:missing
echo The specified configuration type is missing. The tools for the
echo configuration might not be installed.
goto :end
:end
set __VCVARSALL_TARGET_ARCH=
set __VCVARSALL_HOST_ARCH=
set __VCVARSALL_STORE=
set __VCVARSALL_WINSDK=
set __VCVARSALL_PARSE_ERROR=
set __VCVARSALL_CLEAN_ENV=
set VSCMD_VCVARSALL_INIT=
set __VCVARSALL_VSDEVCMD_ARGS=
set __VCVARSALL_HELP=
set __VCVARSALL_VER=
set __VCVARSALL_SPECTRE=
So we can detecting vs2015 proplery
jice73
Metadata
Metadata
Assignees
Labels
Feature: kitsenhancementan enhancement to the product that is either not present or an improvement to an existing featurean enhancement to the product that is either not present or an improvement to an existing featurestale-exemptto use with close-stale-issues and close-old-issues botto use with close-stale-issues and close-old-issues bot
Type
Projects
Status
Pending Prioritization