NAnt SDK Documentation - v0.85-nightly-2005-11-09

PkgConfigFunctions.GetCompileFlags Method 

[This is preliminary documentation and subject to change.]

Gets the compile flags required to compile the package, including all its dependencies.

[Visual Basic]
<Function(Name:="get-compile-flags")>
Public Function GetCompileFlags( _
   ByVal package As String _
) As String
[C#]
[Function(Name="get-compile-flags")]
public string GetCompileFlags(
   string package
);

Parameters

package
The package for which the compile flags should be retrieved.

Return Value

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

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.PkgConfigFunctions.GetCompileFlags(System.String)

Exceptions

Exception Type Condition
Win32Exception pkg-config could not be started.
ArgumentException package does not exist.

See Also

PkgConfigFunctions Class | NAnt.Core.Functions Namespace