نديم ابن ﺤﻣﻮﺪﺓ الخمير - Nadim Khemir > PerlBuildSystem > PBS::Prf

Download:
PerlBuildSystem-0.44.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  2
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

PBS::Prf - Support functions for pure perl prf files

DESCRIPTION ^

Prf file contain the definition of command line switches and target. PBS 0.36 introduces pure perl prfs. All perl functionality is accessible in the prfs but only a limited subset of PBS functionality is available.

  AddTargets('1', '2') ;
  
  #~ AddCommandLineSwitches('-unknown_switch') ; # will generate an error and stop
  AddCommandLineSwitches('-sd /') ;
  AddCommandLineSwitches('-ndpb') ;
  
  AddCommandLineSwitches
        (
          '-dc'
        , '-dsd'
        , '-ppp /devel/perl_modules/PerlBuildSystem/Plugins'
        ) ;
  
  AddCommandLineDefinitions(DEBUG => 1) ;
  AddCommandLineDefinitions(SOMETHING => 'a string with spaces') ;
  
  AddCommandLineDefinitions
        (
          DEBUG2 => 1
        , SOMETHING2 => 'a string with spaces again'
        ) ;

AUTHOR ^

Khemir Nadim ibn Hamouda. nadim@khemir.net

syntax highlighting: