# Class NativeExecutableFileSpec

java.lang.Object
org.gradle.nativeplatform.NativeExecutableFileSpec

@Incubating @Deprecated public class NativeExecutableFileSpec extends Object
Deprecated.
The Gradle software model is deprecated and will be removed in Gradle 10. Use the new component model (e.g. `cpp-application`, `cpp-library`, `swift-application`, `swift-library`, `xctest`) instead.
Specifies how to build and where to place a native executable file.

TODO:HH resolve naming conflict with existing NativeExecutableSpec

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NativeExecutableFileSpec()`
  Deprecated.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `File`
  `getFile()`
  Deprecated.
  `NativeToolChain`
  `getToolChain()`
  Deprecated.
  The Tool Chain that produces the native executable.
  `void`
  `setFile(File file)`
  Deprecated.
  `void`
  `setToolChain(NativeToolChain toolChain)`
  Deprecated.
  Sets the Tool Chain that produces the native executable.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NativeExecutableFileSpec

    public NativeExecutableFileSpec()
    Deprecated.

- ## Method Details

  - ### getFile

    public File getFile()
    Deprecated.

  - ### setFile

    public void setFile(File file)
    Deprecated.

  - ### getToolChain

    public NativeToolChain getToolChain()
    Deprecated.
    The Tool Chain that produces the native executable.
    Since:
      4.7

  - ### setToolChain

    public void setToolChain(NativeToolChain toolChain)
    Deprecated.
    Sets the Tool Chain that produces the native executable.
    Since:
      4.7