| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version |