PkgConfigFunctions Class

Summary

Base class for implementing NAnt functions.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Base Types
graph BT Type-->Base0["FunctionSetBase"] click Base0 "/api/NAnt.Core/FunctionSetBase" Base0-->Base1["Object"] Type["PkgConfigFunctions"] class Type type-node

Syntax

[FunctionSet("pkg-config", "Unix/Cygwin")]
public class PkgConfigFunctions : FunctionSetBase

Attributes

Type Description
FunctionSetAttribute Indicates that class should be treated as a set of functions.

Constructors

Name Summary
PkgConfigFunctions(Project, PropertyDictionary) Initializes a new instance of the NAnt.Core.Functions.PkgConfigFunctions class.

Properties

Name Value Summary
Project Project
Gets or sets the NAnt.Core.FunctionSetBase.Project that this functionset will reference.
Inherited from FunctionSetBase

Methods

Name Value Summary
Exists(string) bool
Determines whether the given package exists.
GetCompileFlags(string) string
Gets the compile flags required to compile the package, including all its dependencies.
GetLinkFlags(string) string
Gets the link flags required to compile the package, including all its dependencies.
GetModVersion(string) string
Determines the version of the given package.
GetVariable(string, string) string
Gets the value of a variable for the specified package.
IsAtLeastVersion(string, string) bool
Determines whether the given package is at least version version.
IsBetweenVersion(string, string, string) bool
Determines whether the given package is between two versions.
IsExactVersion(string, string) bool
Determines whether the given package is exactly version version.
IsMaxVersion(string, string) bool
Determines whether the given package is at no newer than version version.