omake usually stops at the first build-script line that returns an error. This is the right behavior for interactive work, but not for a long, unattended build such as an overnight build of your entire system. The solution is to use the keep-working mode. This mode allows omake to do the maximum amount of work consistent with any errors that occur during the build.
In the keep-working mode, a build script error while omake is updating a target causes omake to stop working on the current target. The make process continues, with omake noting that the current target was incompletely built. Future targets are updated only if they do not depend on any incomplete targets.
Because omake does as much work as possible, you only have to fix the problem targets and start omake again. The keep-working mode does the maximum amount of safe and correct work.
This mode is enabled with the .KEEPWORKING makefile directive (see Dot Directives) or -k command-line option (see Command-Line Options).
Feedback on the documentation in this site? We welcome any comments!
Copyright © 2001 by Rational Software Corporation. All rights reserved. |