PkgConfigFunctions.

GetCompileFlags(string) Method

Summary

Gets the compile flags required to compile the package, including all its dependencies.
Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions
Containing Type
PkgConfigFunctions

Syntax

[Function("get-compile-flags")]
public string GetCompileFlags(string package)

Attributes

Type Description
FunctionAttribute Indicates that the method should be exposed as a function in NAnt build files.

Parameters

Name Type Description
package string The package for which the compile flags should be retrieved.

Return Value

Type Description
string The pre-processor and compile flags required to compile the package.