| Top |
| const gchar * | ide_toolchain_get_id () |
| void | ide_toolchain_set_id () |
| const gchar * | ide_toolchain_get_display_name () |
| void | ide_toolchain_set_display_name () |
| IdeTriplet * | ide_toolchain_get_host_triplet () |
| void | ide_toolchain_set_host_triplet () |
| const gchar * | ide_toolchain_get_tool_for_language () |
| GHashTable * | ide_toolchain_get_tools_for_id () |
| gchar * | display-name | Read / Write |
| IdeTriplet * | host-triplet | Read / Write |
| gchar * | id | Read / Write |
| #define | IDE_TYPE_TOOLCHAIN |
| struct | IdeToolchainClass |
| #define | IDE_TOOLCHAIN_TOOL_CC |
| #define | IDE_TOOLCHAIN_TOOL_CPP |
| #define | IDE_TOOLCHAIN_TOOL_AR |
| #define | IDE_TOOLCHAIN_TOOL_LD |
| #define | IDE_TOOLCHAIN_TOOL_STRIP |
| #define | IDE_TOOLCHAIN_TOOL_EXEC |
| #define | IDE_TOOLCHAIN_TOOL_PKG_CONFIG |
| #define | IDE_TOOLCHAIN_LANGUAGE_ANY |
| #define | IDE_TOOLCHAIN_LANGUAGE_C |
| #define | IDE_TOOLCHAIN_LANGUAGE_CPLUSPLUS |
| #define | IDE_TOOLCHAIN_LANGUAGE_PYTHON |
| #define | IDE_TOOLCHAIN_LANGUAGE_VALA |
| #define | IDE_TOOLCHAIN_LANGUAGE_FORTRAN |
| #define | IDE_TOOLCHAIN_LANGUAGE_D |
| IdeToolchain |
const gchar *
ide_toolchain_get_id (IdeToolchain *self);
Gets the internal identifier of the toolchain
Since: 3.32
void ide_toolchain_set_id (IdeToolchain *self,const gchar *id);
Sets the internal identifier of the toolchain
Since: 3.32
const gchar *
ide_toolchain_get_display_name (IdeToolchain *self);
void ide_toolchain_set_display_name (IdeToolchain *self,const gchar *display_name);
IdeTriplet *
ide_toolchain_get_host_triplet (IdeToolchain *self);
Gets the combination of arch-kernel-system, sometimes referred to as the "host triplet".
For Linux based devices, this will generally be something like "x86_64-linux-gnu".
Since: 3.32
void ide_toolchain_set_host_triplet (IdeToolchain *self,IdeTriplet *host_triplet);
Sets the host system of the toolchain
self |
an IdeToolchain |
|
host_triplet |
an IdeTriplet representing the host architecture of the toolchain |
Since: 3.32
const gchar * ide_toolchain_get_tool_for_language (IdeToolchain *self,const gchar *language,const gchar *tool_id);
Gets the path of the specified tool for the requested language.
If IDE_TOOLCHAIN_LANGUAGE_ANY is used in the language
field, the first tool matching tool_id
will be returned.
self |
an IdeToolchain |
|
language |
the language of the tool like |
|
tool_id |
the identifier of the tool like |
A string containing the path of the tool for the given language, or
NULL is no tool has been found.
[transfer none]
Since: 3.32
GHashTable * ide_toolchain_get_tools_for_id (IdeToolchain *self,const gchar *tool_id);
Gets the list of all the paths to the specified tool id.
Since: 3.32
struct IdeToolchainClass {
IdeObjectClass parent;
const gchar *(*get_tool_for_language) (IdeToolchain *self,
const gchar *language,
const gchar *tool_id);
GHashTable *(*get_tools_for_id) (IdeToolchain *self,
const gchar *tool_id);
};
“display-name” property “display-name” gchar *
The displayable name of the toolchain.
Owner: IdeToolchain
Flags: Read / Write
Default value: NULL
“host-triplet” property“host-triplet” IdeTriplet *
The #IdeTriplet object containing the architecture of the machine on which the compiled binary will run.
Owner: IdeToolchain
Flags: Read / Write