This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: this script simply set needed env variable to perform command line compilation using vs2017 preview 2017 15.6 atw (At This Time Of Writing 22/02/2018) | |
:: you can adjust some important variable like VC2017PRODVERSION to point as your desired of cl.exe compiler driver version. | |
:: WINSDKVERSION is the version of your desired win sdk instalation version. | |
:: of course you can either prepand or add a new custom INCLUDE, LIB and PATH to point to your custom folder c++ libs include and paths. | |
:: this script is only work for desktop x86 target, you may figure out how to adjust for x64 version of cl.exe by ease :) | |
set VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio\Preview\Community | |
set VCINSTALLDIR=%VSINSTALLDIR%\Vc | |
set VC2017PRODVERSION=14.13.26127 | |
set WINSDKVERSION=10.0.17095.0 |