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