|  |  
 |   |   
 NAMEExtUtils::Builder::AutoDetect::C - compiler configuration, derived from perl's configuration VERSIONversion 0.032 SYNOPSIS my $planner = ExtUtils::Builder::Planner->new;
 $planner->load_extension('ExtUtils::Builder::AutoDetect::C', '0.001',
        profiles => ['@Perl'],
        type     => 'loadable-object',
 );
 $planner->compile('foo.c', 'foo.o', include_dirs => ['.']);
 $planner->link([ 'foo.o' ], 'foo.so', libraries => ['foo']);
 my $plan = $planner->materialize;
 $plan->run(['foo.so']);
DESCRIPTIONThis module is a ExtUtils::Builder::Planner::Extension that facilitates compiling object. METHODSadd_methods(%options)This adds two delegate methods to the planner, "compile" and "link". It takes named arguments that will be prefixed to the named arguments for all delegate calls. In practice, it's mainly useful with the "config", "profile" and "type" arguments. If your $planner has a "config" delegate, that will be used as default value for "config". This is usually not called directly, but through ExtUtils::Builder::Planner's "load_extension" method. link(\@sources, $target, %options)
 DELEGATEScompile($source, $target, %options)This compiles $source to $target. It takes the following optional arguments: 
 
 
 AUTHORLeon Timmermans <fawaka@gmail.com> COPYRIGHT AND LICENSEThis software is copyright (c) 2012 by Leon Timmermans. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. 
 
 |