Top | ![]() |
![]() |
![]() |
![]() |
gchar * ide_build_system_discovery_discover (IdeBuildSystemDiscovery *self
,GFile *project_file
,GCancellable *cancellable
,gint *priority
,GError **error
);
This virtual method can be used to try to discover the build system to use for a particular project. This might be used in cases like Flatpak where the build system can be determined from the .json manifest rather than auto-discovery by locating project files.
self |
||
project_file |
a GFile containing the project file (a directory) |
|
cancellable |
a GCancellable or |
[nullable] |
priority |
A location for the priority. |
[out] |
error |
a location for a GError or |
The hint for the build system, which should match what
the build system returns from ide_build_system_get_id()
.
[transfer full]
#define IDE_TYPE_BUILD_SYSTEM_DISCOVERY (ide_build_system_discovery_get_type())
struct IdeBuildSystemDiscoveryInterface { GTypeInterface parent_iface; gchar *(*discover) (IdeBuildSystemDiscovery *self, GFile *project_file, GCancellable *cancellable, gint *priority, GError **error); };