Daniel Pfeiffer > makepp > Mpp::BuildCheck::exact_match



Annotate this POD


New  3
Open  1
View/Report Bugs
Source   Latest Release: makepp-


Mpp::BuildCheck::exact_match -- a signature class that requires that dependencies have exactly the same signature they did on the last build


This is the default build check class. You don't have to do anything to use it unless you override it from the command line. You can specify it explicitly in the Makefile using

   target : dependencies
          : build_check exact_match


This class forces a recompilation if any of the following are different from the last time this particular rule was executed:

If you want to avoid checking some of those things, you can implement another Mpp::BuildCheck class in terms of this class by passing additional optional arguments to the build_check, build_check_from_build_info, and build_cache_key methods as follows:

1. $ignore_action

Don't force a recompilation if only the build command changed.

2. $ignore_architecture

Don't force a recompilation if only the architecture changed.

It is strongly recommended that you pass the base argument list as @_, because future versions of makepp may append additional parameters to the argument list. See Mpp/BuildCheck/architecture_independent.pm for an example.

syntax highlighting: