1CPACK_INCLUDE_TOPLEVEL_DIRECTORY
2--------------------------------
3
4Boolean toggle to include/exclude top level directory.
5
6When preparing a package CPack installs the item under the so-called
7top level directory.  The purpose of is to include (set to ``1`` or ``ON`` or
8``TRUE``) the top level directory in the package or not (set to ``0`` or
9``OFF`` or ``FALSE``).
10
11Each CPack generator has a built-in default value for this variable.
12E.g.  Archive generators (ZIP, TGZ, ...) includes the top level
13whereas RPM or DEB don't.  The user may override the default value by
14setting this variable.
15
16There is a similar variable
17:variable:`CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY` which may be used
18to override the behavior for the component packaging
19case which may have different default value for historical (now
20backward compatibility) reason.
21