Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MSVC compiler options starting with "/" #61

Closed
fxb opened this issue Jan 16, 2017 · 0 comments
Closed

Support MSVC compiler options starting with "/" #61

fxb opened this issue Jan 16, 2017 · 0 comments

Comments

@fxb
Copy link
Contributor

fxb commented Jan 16, 2017

There already is a TODO in msvc.rs mentioning this, but I think it is good to have an issue open for better visibility.

It seems quite straight-forward to add support for options starting with / as well.

See: https://msdn.microsoft.com/en-us/library/610ecb4h.aspx

Options are specified by either a forward slash (/) or a dash (–).

Additionally, it might be good to also support options that accept arguments after a space.

If an option takes an argument, the option's description documents whether a space is allowed between the option and the arguments

For example, I have encountered defines being set like /D WIN32 instead of /DWIN32. Maybe this should have a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant