Utility functions

  • LinkWith

      This function I<returns> a builder for default linking with the libraries
    specified as arguments. The arguments are a list of library I<names> to include
    in linking (without suffix) -- to link with e.g. the system math library, libm.a,
    specify 'libm'. Again, note that this is a function that I<returns> a builder,
    not a builder in itself -- it should be called with arguments rather as passed
    as a builder reference.
    
    Example:
    
      AddRule 'mytool', [ '%TARGET_PATH/mytool' => 'mytool.objects' ], LinkWith('libm');