-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Detecting operating system #2468
Comments
If you can commit to 15.3+, you're looking for the property function
|
What kind of trickery? I'm not afraid of using it but don't know what it is ;) |
One hack I've used in the past is this:
|
Thank you for posting this "workaround" @akoeplinger |
@bgavrilMS I'd recommend using Docs:
|
@rainersigwald |
There is a property that I'd like to give an initial value based on the operating system I'm currently running on: windows, OSX, Linux, etc ... What I'd essentially like to write is the following:
The
$(OS)
flag works for windows by producingWindows_NT
. I can't find any documentation for this property though and hence can't determine what the values would be for other operating systems. Is this property the write way to approach this and if so what are the values for other operating systems.The text was updated successfully, but these errors were encountered: