Ide.BuildTarget
Description: Reference for Ide.BuildTarget

### Interface

# IdeBuildTarget

#### Description

    interface Ide.BuildTarget : Ide.Object

No description available.

#### Prerequisite

In order to implement BuildTarget, your type must inherit from `IdeObject`.

#### Implementations

- IdeSimpleBuildTarget

#### Instance methods

###### ide_build_target_compare

No description available.

###### ide_build_target_get_argv

Gets the arguments used to run the target.

Available since: 3.32

###### ide_build_target_get_cwd

For build systems and build target providers that insist to be run in a specific place, this method gets the correct working directory.

Available since: 3.32

###### ide_build_target_get_display_name

No description available.

Available since: 3.32

###### ide_build_target_get_install

Checks if the `IdeBuildTarget` gets installed.

Available since: 3.32

###### ide_build_target_get_install_directory

No description available.

Available since: 3.32

###### ide_build_target_get_kind

Gets the kind of artifact.

Available since: 3.32

###### ide_build_target_get_language

Return the main programming language that was used to write this build target.

Available since: 3.32

###### ide_build_target_get_name

No description available.

Available since: 3.32

###### ide_build_target_get_priority

Gets the priority of the build target. This is used to sort build targets by their importance. The lowest value (negative values are allowed) will be run as the default run target by Builder.

Available since: 3.32

#### Interface structure

    struct IdeBuildTargetInterface {
      GTypeInterface parent_iface;
      GFile* (* get_install_directory) (
        IdeBuildTarget* self
      );
      gchar* (* get_name) (
        IdeBuildTarget* self
      );
      gchar* (* get_display_name) (
        IdeBuildTarget* self
      );
      gint (* get_priority) (
        IdeBuildTarget* self
      );
      gchar** (* get_argv) (
        IdeBuildTarget* self
      );
      gchar* (* get_cwd) (
        IdeBuildTarget* self
      );
      gchar* (* get_language) (
        IdeBuildTarget* self
      );
      IdeArtifactKind (* get_kind) (
        IdeBuildTarget* self
      );

    }

###### Interface members

`parent_iface` |
    GTypeInterface
| No description available.
`get_install_directory` |
    GFile* (* get_install_directory) (
        IdeBuildTarget* self
      )
| No description available.
`get_name` |
    gchar* (* get_name) (
        IdeBuildTarget* self
      )
| No description available.
`get_display_name` |
    gchar* (* get_display_name) (
        IdeBuildTarget* self
      )
| No description available.
`get_priority` |
    gint (* get_priority) (
        IdeBuildTarget* self
      )
| No description available.
`get_argv` |
    gchar** (* get_argv) (
        IdeBuildTarget* self
      )
| No description available.
`get_cwd` |
    gchar* (* get_cwd) (
        IdeBuildTarget* self
      )
| No description available.
`get_language` |
    gchar* (* get_language) (
        IdeBuildTarget* self
      )
| No description available.
`get_kind` |
    IdeArtifactKind (* get_kind) (
        IdeBuildTarget* self
      )
| No description available.

#### Virtual methods

###### Ide.BuildTarget.get_argv

Gets the arguments used to run the target.

###### Ide.BuildTarget.get_cwd

For build systems and build target providers that insist to be run in a specific place, this method gets the correct working directory.

###### Ide.BuildTarget.get_display_name

No description available.

###### Ide.BuildTarget.get_install_directory

No description available.

###### Ide.BuildTarget.get_kind

Gets the kind of artifact.

###### Ide.BuildTarget.get_language

Return the main programming language that was used to write this build target.

###### Ide.BuildTarget.get_name

No description available.

###### Ide.BuildTarget.get_priority

Gets the priority of the build target. This is used to sort build targets by their importance. The lowest value (negative values are allowed) will be run as the default run target by Builder.