Author image james h. woodyatt

NAME

Conjury::C::Darwin -- Perl Conjury with the Darwin C/C++ tools

SYNOPSIS

  c_compiler Vendor => 'Darwin',
    Language => I<language>,
    No_Scanner => 1,
    Program => I<program>,
    Options => [ I<opt1>, I<opt2>, ... ],
    Journal => I<journal>;

  c_linker Vendor => 'Darwin',
    Language => I<language>,
    Program => I<program>,
    Options => [ I<opt1>, I<opt2>, ... ],
    Journal => I<journal>;

  c_archiver Vendor => 'Darwin',
    Mode => $static_or_dynamic, # either 'static' or 'dynamic'
    Language => I<language>,
    Program => I<program>,
    Options => [ I<opt1>, I<opt2>, ... ],
    Journal => I<journal>;

DESCRIPTION

The optional 'Program', 'Options' and 'Journal' arguments to the Darwin-specific specializations of the c_compiler and c_linker functions are simply passed through unmodified to the base class constructor.

The optional 'Language' argument specifies the langauge for which the compiler or linker should be invoked. The C language is the default if not otherwise specified. The value is case-insensitive and may be any one of the following: 'c', 'c++' or 'objective-c'.

The optional 'No_Scanner' argument in the c_compiler specialization specifies that the processing overhead of scanning all the source files for their dependency trees is unnecessary. If you are only building from clean source file hierarchies (with no existing products from previous runs), then the construction time of large builds may be improved with this option.

The Darwin archiver tools is the 'libtool' program, and it should be used for both static and dynamic libraries. If it is used, the 'Mode' argument is required for specifying which kind of library the object will be used to create.

SEE ALSO

More documentation can be found in Conjury, cast, Conjury::Core and Conjury::C.

AUTHOR

James Woodyatt <jhw@wetware.com>