Package org.gradle.nativeplatform
Interface TargetMachineFactory
public interface TargetMachineFactory
A factory for creating
TargetMachine objects.- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptiongetLinux()Returns aTargetMachineBuilderfor the Linux operating system family and the architecture of the current host.getMacOS()Returns aTargetMachineBuilderfor the macOS operating system family and the architecture of the current host.Returns aTargetMachineBuilderfor the Windows operating system family and the architecture of the current host.Returns aTargetMachineBuilderrepresenting the specified operating system and the architecture of the current host.
-
Method Details
-
getWindows
TargetMachineBuilder getWindows()Returns aTargetMachineBuilderfor the Windows operating system family and the architecture of the current host. -
getLinux
TargetMachineBuilder getLinux()Returns aTargetMachineBuilderfor the Linux operating system family and the architecture of the current host. -
getMacOS
TargetMachineBuilder getMacOS()Returns aTargetMachineBuilderfor the macOS operating system family and the architecture of the current host. -
os
Returns aTargetMachineBuilderrepresenting the specified operating system and the architecture of the current host.
-