Works great. Good for learning new tricks, too ;-)

Thanx.

On Tue, Nov 11, 2008 at 6:05 PM, Eric NOULARD <[EMAIL PROTECTED]> wrote:
> Le Tue, 11 Nov 2008 17:55:03 +0200,
> "Ioan Calin Borcoman" <[EMAIL PROTECTED]> a écrit :
>
>> Hi,
>>
>> Is it possible to change the CPACK_SOURCE_PACKAGE_FILE_NAME when I run
>> "make package_source"?
>
> I don't know, but I decide to do it differently.
>
>>
>> I would like to set it to a value like foo-`date +%Y%m%d_%H%M`. Is it
>> possible?
>
> I do use a custom made UsePackageBackup.cmake macro attached to this
> mail for the same need.
>
> If you add:
>
> INCLUDE(UsePackageBackup)
>
> after
> INCLUDE(CPack)
>
> in your main CMakeLists.txt
> then you will have new
>
> package_source_backup
>
> target which will create a dated source package file.
>
> The macro use TGZ generator but you may change this easily from within
> the UsePackageBackup.cmake
>
>
> --
> Erk
>
> _______________________________________________
> CMake mailing list
> [email protected]
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to