[CMake] cpack problem: only a few files are included in tgz

Pierre Chifflier chifflier at cpe.fr
Wed Mar 7 05:16:21 EST 2007


Hi,

I have an application using cmake to configure, build & install. I'd
like to use cpack to create packages, so I followed
http://www.cmake.org/Wiki/CMake:Packaging_With_CPack

I added "include(CPack)" in top-level CMakeLists.txt file, ran cmake
and then tried to create the package using cpack -G TGZ

Problem is: only a small numbers of the files are included, and it
seems I can't get the logic of the inclusion or not.

For ex, the .so files are not included, as well as the .h files, etc.
Files are present in the directory after running make install, and
it seems cpack does not log anything useful ..

CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: WZDFTPD
CPack: - Install project: WZDFTPD
CPack: Compress package
CPack: Finalize package

The complete source code of the project can be found at:
http://www.wzdftpd.net/trac/browser/trunk


So here's a few questions:
 - can I get cpack to be more verbose ?
 - can I specify the files which should be included (since INSTALL()
   is not taken) ?


Regards,
Pierre


Platform: Linux (Debian unstable)
cpack version 2.4-patch 5


More information about the CMake mailing list