- /** Creates targets for all packages and prepares them for building.
- Returns 0 if everything went ok, -1 if something bad happened and a build
- shouldn't be attempted. */
- int create_targets();
+ /** Prepares packages and targets for building. Returns true if everything
+ went ok, or false if something bad happened and a build shouldn't be
+ attempted. */
+ bool prepare_build();