| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: project-or-app
Returns an integer that indicates how many times the standalone application for a project has been built. This information could be presented in an About dialog, for example, to distinguish between builds.
This project property is automatically incremented each time the File | Build Project Distribution command is used to generate the standalone app, and the setf of this function could be used to set the value arbitrarily (though it should always be a non-negative integer). The build-number of a new project will be zero, and the first build will be build number 1.
In the standalone application (as well as in the
IDE), build-number is also a
property of the cg:app
object, where it can be retrieved with the
expression (build-number (app *system*))
, since the
project itself is not present in the generated app.
If you build projects programmatically by calling ide:build-project, then you could avoid
incrementing the build-number of the project by passing the
increment-build-number argument
as nil
. That would avoid modifying the
project and making the IDE inclined to save it.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |