blob: b8e9105a421b6a922048ab3914b5cf9b29af7fae [file] [log] [blame]
Boolean toggle to include/exclude top level directory.
When preparing a package CPack installs the item under the so-called
top level directory. The purpose of is to include (set to ``1`` or ``ON`` or
``TRUE``) the top level directory in the package or not (set to ``0`` or
``OFF`` or ``FALSE``).
Each CPack generator has a built-in default value for this variable.
E.g. Archive generators (ZIP, TGZ, ...) includes the top level
whereas RPM or DEB don't. The user may override the default value by
setting this variable.
There is a similar variable
to override the behavior for the component packaging
case which may have different default value for historical (now
backward compatibility) reason.