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 TargetMachine
architecture(String architecture)
Returns aTargetMachine
for the operating system of this machine and the specified architecture.MachineArchitecture
getArchitecture()
Returns the target architectureOperatingSystemFamily
getOperatingSystemFamily()
Returns the target operating systemTargetMachine
getX86()
Returns aTargetMachine
for the operating system of this machine and the x86 32-bit architectureTargetMachine
getX86_64()
Returns aTargetMachine
for 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 aTargetMachine
for the operating system of this machine and the x86 32-bit architecture
-
getX86_64
TargetMachine getX86_64()
Returns aTargetMachine
for the operating system of this machine and the x86 64-bit architecture
-
architecture
TargetMachine architecture(String architecture)
Returns aTargetMachine
for the operating system of this machine and the specified architecture.
-
-