Re: [CMake] 'make dist' like target

2006-11-13 Thread Alan W. Irwin
On 2006-11-13 11:13+0100 Enrico Scholz wrote: Hello, I am looking for something which works like 'make dist' and/or 'make distcheck' from automake. cpack (still apparently in beta state) provides this functionality. See http://www.cmake.org/Wiki/CMake:Packaging_With_CPack for some limited

Re: [CMake] make dist?

2006-07-27 Thread Andy Cedilnik
Hi Alan, I will add more in the future: http://www.cmake.org/Wiki/CMake_Packaging_With_CPack Andy Alan W. Irwin wrote: Mr.Prise wrote: Hello, Im new to CMake. I used autools before. Does CMake have similar function to make an archive from the source like autotools has with make dist?

[CMake] make dist?

2006-07-26 Thread Mr . Prise
Hello, Im new to CMake. I used autools before. Does CMake have similar function to make an archive from the source like autotools has with make dist? I would like to type a make archive to make a .tar.gz from all my source and other files which are needed for the project. Regards, Mr.Prise

Re: [CMake] make dist?

2006-07-26 Thread Filipe Sousa
Mr.Prise wrote: Hello, Im new to CMake. I used autools before. Does CMake have similar function to make an archive from the source like autotools has with make dist? I would like to type a make archive to make a .tar.gz from all my source and other files which are needed for the project.

Re: [CMake] make dist?

2006-07-26 Thread Alan W. Irwin
Mr.Prise wrote: Hello, Im new to CMake. I used autools before. Does CMake have similar function to make an archive from the source like autotools has with make dist? I would like to type a make archive to make a .tar.gz from all my source and other files which are needed for the project.

Re: [CMake] Make dist?

2006-05-05 Thread Andy Cedilnik
Hi Craig, Not sure what went wrong. Did you update CMake? Here is my run: [EMAIL PROTECTED] $ rm -rf _CPack_Packages cmake-2.5.0-Linux.sh [EMAIL PROTECTED] $ ./bin/cpack -G TBZ2 CPack: Install projects CPack: - Run preinstall target for: CMake CPack: - Install project: CMake CPack: - Strip

Re: [CMake] Make dist?

2006-05-05 Thread Craig Bradney
HI Andy, My CMake is current CVS. I was running make package_source When I run cpack like you are, how do I specify I only want a source package not a built package? Also, a more major issue with a built package is that it runs uic/moc from /usr/bin which is Qt4 and not the uic/moc binaries

Re: [CMake] Make dist?

2006-05-05 Thread Andy Cedilnik
Hi Craig, cpack -G TBZ2 --config CPackSource.cmake Why is cpack running uic/moc? It should not. Andy Craig Bradney wrote: HI Andy, My CMake is current CVS. I was running make package_source When I run cpack like you are, how do I specify I only want a source package not a built

Re: [CMake] Make dist?

2006-05-05 Thread Craig Bradney
Hi Andy, Ok, that seems right now. 11mb tar.bz2 file. It was attempting to run moc/uic because I build out of source and I was running cpack in the source dir with no prebuilt files there and it was attempting a package build, not package source build. Having made a complete clean checkout, I

Re: [CMake] Make dist?

2006-05-04 Thread Craig Bradney
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

Re: [CMake] Make dist?

2006-05-04 Thread Craig Bradney
On Thursday 04 May 2006 11:11, Andy Cedilnik wrote: Hi Craig, In your CMakeLists.txt set CPACK_SOURCE_GENERATOR to TBZ2.. Andy I still ended up with a tar.gz, this time though it was 770mb. The whole tree was 2.7Gb

[CMake] Make dist?

2006-05-03 Thread Craig Bradney
Hi, Are there any examples of a autotools make dist replacement out there? Have people moved to a shell script instead or is there a cmake/make target possible? thanks Craig Scribus Team ___ CMake mailing list CMake@cmake.org

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
On Wednesday 03 May 2006 23:36, Craig Bradney wrote: Hi, Are there any examples of a autotools make dist replacement out there? Have people moved to a shell script instead or is there a cmake/make target possible? To clarify, I have a basic solution based on an old ML posting that finds tar

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
On Wednesday 03 May 2006 23:46, Filipe Sousa wrote: On Wednesday 03 May 2006 22:36, Craig Bradney wrote: Hi, Are there any examples of a autotools make dist replacement out there? Have people moved to a shell script instead or is there a cmake/make target possible? thanks Craig

Re: [CMake] Make dist?

2006-05-03 Thread Filipe Sousa
On Wednesday 03 May 2006 23:08, Craig Bradney wrote: On Wednesday 03 May 2006 23:46, Filipe Sousa wrote: On Wednesday 03 May 2006 22:36, Craig Bradney wrote: Hi, Are there any examples of a autotools make dist replacement out there? Have people moved to a shell script instead or is

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
On Thursday 04 May 2006 00:25, Filipe Sousa wrote: On Wednesday 03 May 2006 23:08, Craig Bradney wrote: On Wednesday 03 May 2006 23:46, Filipe Sousa wrote: On Wednesday 03 May 2006 22:36, Craig Bradney wrote: Hi, Are there any examples of a autotools make dist replacement out

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
For a more comple example have a look at CMakeLists.txt of cmake: http://public.kitware.com/cgi-bin/viewcvs.cgi/CMakeLists.txt?rev=1.104ro ot =CMakeview=markup Ah! Legend.. thanks heaps. I'll sort the rest, ie copy and change :) Ok works :) No bzip2 support tho? Pity. Craig

Re: [CMake] Make dist?

2006-05-03 Thread Andy Cedilnik
Give me a second... Andy William A. Hoffman wrote: At 07:44 PM 5/3/2006, Craig Bradney wrote: Bill? Any ideas on adding bzip2 support? The Scribus bz2 is 2mb smaller (~10 vs ~12mb) so its a good % of the total. CPack is really in beta. bz2 support should not be that hard to

Re: [CMake] Make dist?

2006-05-03 Thread Andy Cedilnik
Hi, Instead of looking through the source code, you can also just type: cpack --help Andy Filipe Sousa wrote: On Thursday 04 May 2006 00:18, Craig Bradney wrote: For a more comple example have a look at CMakeLists.txt of cmake: