msvc_env
msvc-dev-cmd
A Crystal program to run any command under the Visual Studio Developer Command Prompt of your choice.
This is a port of the rust program by amyspark: https://github.com/amyspark/msvc-dev-cmd but designed for desktop use.
Using
CLI
Usage: msvc-env [OPTIONS] <PROGRAM> [ARGS]...
Arguments:
<PROGRAM> Name or path to the program I'll background to
[ARGS]... Arguments to the program
Options:
--arch <ARCH> Target architecture [default: x64]
--sdk <SDK> Windows SDK number to build for
--spectre Enable Spectre mitigations
--toolset <TOOLSET> VC++ compiler toolset version
--uwp Build for Universal Windows Platform
--vsversion <VSVERSION> The Visual Studio version to use. This can be the version number (e.g. 16.0 for 2019) or the year (e.g. "2019")
-h, --help Print help
-V, --version Print version
Existing Crystal Project
Add the following to your shard.yml
and run shards install
.
dependencies:
msvc_env:
github: dsisnero/msvc_env
version: ~> 0.7
Building
Just shards build --release
.
License
Mozilla Public License 2.0# msvc_env
Contributing
- Fork it (https://github.com/dsisnero/msvc_env/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- dsisnero - creator and maintainer
Repository
msvc_env
Owner
Statistic
- 0
- 0
- 0
- 0
- 0
- about 1 year ago
- October 6, 2023
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 14:21:30 GMT
Languages