add_source_filename


Description:

public bool add_source_filename (string filename, bool is_source = false, bool cmdline = false)

Add the specified source file to the context. Only .vala, .vapi, .gs, and .c extensions are supported.

Parameters:

filename

a filename

is_source

true to force adding the file as .vala or .gs

cmdline

true if the file came from the command line.

Returns:

false if the file is not recognized or the file does not exist