[CMake] Make dist?
Craig Bradney
cbradney at zip.com.au
Thu May 4 03:11:50 EDT 2006
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
More information about the CMake
mailing list