Package org.gradle.nativeplatform
Interface TargetMachineFactory
-
@Incubating public interface TargetMachineFactory
A factory for creatingTargetMachineobjects.- Since:
- 5.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetMachinegetLinux()Returns aTargetMachinefor the Linux operating system family and the architecture of the current host.TargetMachinegetMacOS()Returns aTargetMachinefor the macOS operating system family and the architecture of the current host.TargetMachinegetWindows()Returns aTargetMachinefor the Windows operating system family and the architecture of the current host.TargetMachineos(String operatingSystemFamily)Returns aTargetMachinerepresenting the specified operating system and the architecture of the current host.
-
-
-
Method Detail
-
getWindows
TargetMachine getWindows()
Returns aTargetMachinefor the Windows operating system family and the architecture of the current host.
-
getLinux
TargetMachine getLinux()
Returns aTargetMachinefor the Linux operating system family and the architecture of the current host.
-
getMacOS
TargetMachine getMacOS()
Returns aTargetMachinefor the macOS operating system family and the architecture of the current host.
-
os
TargetMachine os(String operatingSystemFamily)
Returns aTargetMachinerepresenting the specified operating system and the architecture of the current host.
-
-