-
-
Notifications
You must be signed in to change notification settings - Fork 620
os.target
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Returns the name of the operating system currently being targeted. See system for a complete list of OS identifiers.
The targeted OS may be overridden on the command line with the --os
option.
$ premake5 --os=macosx xcode4
print("Target os: " .. os.target())
Premake 5.0.0 alpha 12 or later.