Cook is a tool for constructing files. It is given a set of files to create, and recipes of how to create them. In any non-trivial program there will be prerequisites to performing the actions necessary to creating any file, such as include files. Cook provides a mechanism to define these. When a program is being developed or maintained, the programmer will typically change one file of several which comprise the program. Cook examines the last-modified times of the files to see when the prerequisites of a file have changed, implying that the file needs to be recreated as it is logically out of date.
|Tags||Software Development Build Tools|
Release Notes: A minor build problem has been fixed.
Release Notes: Some build and portability fixes were made. The license was changed to the GPLv3.
Release Notes: Users can now specify the filesystem timestamp granularity (in the rare cases in which the default is wrong) and can symlink recipe ingredients when using a view path (for tools that don't grok view paths).
Release Notes: Build problems have been fixed. The [print] function now handles newlines better.
Release Notes: A number of build problems have been fixed. A bug has been fixed in the tell-position flag; it wasn't actually giving the file name and line number when executing commands if you used the "set tell-position" variants, only the -tell-position command line option. A bug has been fixed in the "cook -fp-update" command, it would segfault in some cases. A bug has been fixed in the cookbook include file processing. A bug has been fixed in the negative flag setting (comamnd line options and "set" clauses). The find_command program now copes better with directories it is not allowed to access.