Interface
IdeBuildTarget
Prerequisite
In order to implement BuildTarget, your type must inherit from
IdeObject
.
Instance methods
ide_build_target_compare
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_language
Return the main programming language that was used to write this build target.
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 |
|
No description available. | |
get_install_directory |
|
No description available. | |
get_name |
|
No description available. | |
get_display_name |
|
No description available. | |
get_priority |
|
No description available. | |
get_argv |
|
No description available. | |
get_cwd |
|
No description available. | |
get_language |
|
No description available. | |
get_kind |
|
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
Ide.BuildTarget.get_install_directory
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
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.