Provide a function to register a post build routine to do the warnings. Do that way so that the user can chose when to add the callback to the build (i.e. allow the user to assert a desired order for the post build callbacks to be called).