project
Accessing project information, list of source files, compilation flags, ... All command takes as first parameter an absolute filename. This filename is used to determine which project the command is about, even when the command does not concern a specific file like "targets".
get
Synopsis:get <file> <var>
Return the contents of the project variable , or empty string if the variable is not defined in the project file.
load
Synopsis:load <project file>
Read the given project file, so that queries about the files under this project can be executed.
targets
Synopsis:targets <file>
Return the list of targets in the project file corresponding to .
attribute
Synopsis:attribute <file> <attribute>
Return the value of the given attribute for the given target file.
projectdir
Synopsis:projectdir <file>
Return the root directory name of the project corresponding to .
server
Server operations
register
Synopsis:register <tool-name> <port>
Register a new tool with given tool-name. The port is used by the server to connect back to the secondary server providing the tool.
version
Synopsis:version
Return the version number of the server. This function is useful to perform a simple test.