Method
IdeBuildSystemDiscoverydiscover
Declaration
gchar*
ide_build_system_discovery_discover (
IdeBuildSystemDiscovery* self,
GFile* project_file,
GCancellable* cancellable,
gint* priority,
GError** error
)
Description
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.
Available since: | 3.32 |
Parameters
project_file |
GFile |
A |
|
The data is owned by the caller of the function. | |
cancellable |
GCancellable |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
priority |
gint* |
A location for the priority. |
|
The argument will be set by the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |