NextPrevUpTopContentsIndex

save-argument-real-p

Function
Summary

Used to determine if a build script knows the real name of the image being saved.

Package

hcl

Signature

save-argument-real-p => realp

Arguments

None

Values

realp

A boolean.

Description

The function save- argument-real-p can be used in a build script to determine if the argument passed to a subsequent call to save-image or deliver is the real filename of the application.

The return value realp is t in most cases. It is nil only when building an intermediate image for the purpose of building a universal binary, either by save-universal-from-script or the Application Builder (see the Common LispWorks User Guide ).

Operations in a build script that are related to the path of the saved image, such as building an application bundle, should be executed only when this function returns t . When using save-universal-from-script , any required application bundle should be created before calling that function (see the save-macos-application.lisp example below). When using the Application Builder, any required application bundle should be created in the build script only when save- argument-real-p returns t.

On architectures that do not have universal binaries, this function always returns t .

Example
examples/configuration/save-macos-application.lisp
See also

save-universal-from-script
building-universal-intermediate-p
deliver
save-image


LispWorks Reference Manual - 20 Jul 2006

NextPrevUpTopContentsIndex