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 a `TargetMachine` for the operating system of this machine and the specified architecture.
    `MachineArchitecture` | `getArchitecture()` | Returns the target architecture
    `OperatingSystemFamily` | `getOperatingSystemFamily()` | Returns the target operating system
    `TargetMachine` | `getX86()` | Returns a `TargetMachine` for the operating system of this machine and the x86 32-bit architecture
    `TargetMachine` | `getX86_64()` | Returns a `TargetMachine` 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 a `TargetMachine` for the operating system of this machine and the x86 32-bit architecture

    - #### getX86_64

          TargetMachine getX86_64()

      Returns a `TargetMachine` for the operating system of this machine and the x86 64-bit architecture

    - #### architecture

          TargetMachine architecture​(String architecture)

      Returns a `TargetMachine` for the operating system of this machine and the specified architecture.