[CMake] [cpack] name of the top level directory

Jaroslav Gresula jgresula.LEAVE-THIS-OUT at gmail.com
Wed May 20 12:53:30 EDT 2009


Hi,

can CPack generate a package (zip, bz2) whose file name differs from the
package top level directory name?

For instance, when I set CPACK_PACKAGE_FILE_NAME to project-1.0.0.src,
then the name of the package is project-1.0.0.src.tar.bz2 and the top
level directory is project-1.0.0.src/. However, I want it to be
project-1.0.0/.

I couldn't find any CPack variable that would allow to specify the top
level directory name. Any help would be appreciated.


Thanks,
-- 
Jarda
http://jagpdf.com



More information about the CMake mailing list