-
-
Notifications
You must be signed in to change notification settings - Fork 619
system
starkos edited this page Apr 10, 2021
·
6 revisions
This wiki is no longer being maintained.
Specifies the target operating system.
system ("value")
If no system is specified, Premake will identify and target the current operating system. This can be overridden with the --os
command line argument, providing one of the system identifiers below.
value
is one of:
- aix
- bsd
- haiku
- linux
- macosx
- solaris
- wii
- windows
- xbox360
More values may be added by add-on modules.
Project configurations.
Premake 5.0 or later.
workspace "MyWorkspace"
configurations { "Debug", "Release" }
system { "Windows", "Unix", "Mac" }
filter "system:Windows"
system "windows"
filter "system:Unix"
system "linux"
filter "system:Mac"
system "macosx"