All Manuals > LispWorks User Guide and Reference Manual > 32 The HCL Package

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 LispWorks IDE 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
save-image-with-bundle


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex