[CMake] Make dist?
Andy Cedilnik
andy.cedilnik at kitware.com
Thu May 4 05:11:56 EDT 2006
Hi Craig,
In your CMakeLists.txt set CPACK_SOURCE_GENERATOR to TBZ2..
Andy
Craig Bradney wrote:
> On Thursday 04 May 2006 08:13, Craig Bradney wrote:
>
>> On Thursday 04 May 2006 03:45, Andy Cedilnik wrote:
>>
>>> Hello again...
>>>
>>> Ok, bzip2 is in. The generator is called TBZ2 and currently uses bzip2
>>> executable. Once I port bzip2 library to cmake and shove it in CMake, we
>>> can do native BZip2 compression. Also, the same goes for unix comrpess
>>> and zip.
>>>
>
> Hm.. is that set by SET(CPACK_GENERATOR "TBZ2") or something else?
>
> If I set the second, I get an error when running make package_source like:
>
> Run CPack packaging tool for source...
> /dir/to/cpack --config /source/location//CPackSourceConfig.cmake
> CPack Error: Cannot initialize CPack generator:
>
> Reading the CPackSourceConfig.cmake file shows CPACK_GENERATOR to then be "".
> Editing the CPackSourceConfig.cmake file and setting CPACK_GENERATOR to TBZ2
> manually then gives me a source package of filename.tar.bz2. Something does
> go wrong there though. I ended up with a 248mb bz2.
>
> Looking at the CPack.cmake file, the "#Pick a generator" section looks like it
> needs an update. Maybe thats entirely intentional given you wanted to add the
> bzip2 library support..
>
> Thanks
> Craig
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list