Re: [CMake] CPack: Adding a file to package_source target

2009-02-06 Thread Adolfo Rodríguez
After messing around with the issue, I have -almost- succeeded in accomplishing what I wanted. Right now, I'm installing the top-level CMakeLists.txt file by setting: set(CPACK_INSTALL_COMMANDS "${CMAKE_COMMAND} -E copy ${CMAKE_SOURCE_DIR}/CMakeLists.txt {CMAKE_BINARY_DIR}/_CPack_Packages/Linux-So

[CMake] CPack: Adding a file to package_source target

2009-02-05 Thread Adolfo Rodríguez
Hello, I have a project with the following structure: trunk |-src |-build_dir1 |-build_dir2 |-another_dir |-CMakeLists.txt |-unimportant_file |-another_unimportant_file I am configuring CPack to make source packages. The content I'm interested in packaging is folder src (and all it