https://github.com/retorillo/vcinit
Helps to promote vanilla Command Prompt to Visual Studio Tools Command Prompt by invoking C++ development environment configurator (vcvarsall).
https://github.com/retorillo/vcinit
vcvarsall visual-studio
Last synced: 5 months ago
JSON representation
Helps to promote vanilla Command Prompt to Visual Studio Tools Command Prompt by invoking C++ development environment configurator (vcvarsall).
- Host: GitHub
- URL: https://github.com/retorillo/vcinit
- Owner: retorillo
- Created: 2017-08-09T01:18:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-24T04:25:01.000Z (almost 8 years ago)
- Last Synced: 2025-04-09T18:54:08.693Z (about 1 year ago)
- Topics: vcvarsall, visual-studio
- Language: Batchfile
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vcinit
Helps to promote vanilla Command Prompt to Visual Studio Tools Command Prompt by
invoking C++ development environment configurator (vcvarsall).
`vcinit` automatically detect latest Visual Studio on your machine, and invoke
`vcvarsall.bat`.
`vcinitut` is extended script to configure Visual Studio Unit Test Framework
header and library directories.
Run `vcinit` or `vcinitut` as follows:
```bat
vcinit x86 8.1
vcinitut x64
```
These script enables the following special variables:
- `__VCVARSALL` (eg: `C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat`)
- `__VS_DIR` (eg: `C:\Program Files (x86)\Microsoft Visual Studio 14.0\`)
- `__VC_DIR` (eg: `C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC`)
- `__VS_VER` (eg: `14.0`)
## Prerequisuite
- Visual Studio 2017 or 2015
- x64 machine
## License
CC0 1.0
No Rights Reserved