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


PerlBuildSystem documentation  | view source Contained in the PerlBuildSystem distribution.

Index


DESCRIPTION

Top

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

Top

Khemir Nadim ibn Hamouda. nadim@khemir.net


PerlBuildSystem documentation  | view source Contained in the PerlBuildSystem distribution.