Package org.gradle.nativeplatform
Interface TargetMachine
-
@Incubating public interface TargetMachine
Represents a combination of operating system and cpu architecture that a variant might be built for.- Since:
- 5.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TargetMachinearchitecture(String architecture)Returns aTargetMachinefor the operating system of this machine and the specified architecture.MachineArchitecturegetArchitecture()Returns the target architectureOperatingSystemFamilygetOperatingSystemFamily()Returns the target operating systemTargetMachinegetX86()Returns aTargetMachinefor the operating system of this machine and the x86 32-bit architectureTargetMachinegetX86_64()Returns aTargetMachinefor the operating system of this machine and the x86 64-bit architecture
-
-
-
Method Detail
-
getOperatingSystemFamily
OperatingSystemFamily getOperatingSystemFamily()
Returns the target operating system
-
getArchitecture
MachineArchitecture getArchitecture()
Returns the target architecture
-
getX86
TargetMachine getX86()
Returns aTargetMachinefor the operating system of this machine and the x86 32-bit architecture
-
getX86_64
TargetMachine getX86_64()
Returns aTargetMachinefor the operating system of this machine and the x86 64-bit architecture
-
architecture
TargetMachine architecture(String architecture)
Returns aTargetMachinefor the operating system of this machine and the specified architecture.
-
-