Re: [CMake] Make dist?

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

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
On Thursday 04 May 2006 03:46, Andy Cedilnik wrote: > Hi, > > Instead of looking through the source code, you can also just type: > > cpack --help > >Andy That would be too easy ;) Besides that, I wanted to see how/where it did it. Craig ___ CM

RE: [CMake] CMake: C-code and Visual Studio 2005 problem.

2006-05-03 Thread Andrew Maclean
1) The extension of the source files is .c 2) Test COnly works Ok. It compiles and links Ok. I am using the gpsbabel source files. If you like you can download them from the gpsbabel site and I can send you my CMakeLists.txt file. Andrew -Original Message- From: William A. Hoffman [mai

Re: [CMake] CMake: C-code and Visual Studio 2005 problem.

2006-05-03 Thread William A. Hoffman
At 10:29 PM 5/3/2006, Andrew Maclean wrote: >I am having difficulty linking pure c-code using CMake and Visual Studio >2005. > >I have set the following: >PROJECT ( gpsbabel C ) > >So in theory the compiler should be set for C code only. However this does >not seem to be the case, because in the [p

[CMake] CMake: C-code and Visual Studio 2005 problem.

2006-05-03 Thread Andrew Maclean
I am having difficulty linking pure c-code using CMake and Visual Studio 2005. I have set the following: PROJECT ( gpsbabel C ) So in theory the compiler should be set for C code only. However this does not seem to be the case, because in the [properties] [C/C++] [advanced] page /TP is set indica

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: http://public.kitware.com/cgi-bin/viewcvs.cgi/CMakeList

Re: [CMake] Make dist?

2006-05-03 Thread Andy Cedilnik
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. Andy Andy Cedilnik wrote: Give me a second...

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 William A. Hoffman
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 add. Andy just added regular compress support and it did not take lo

Re: [CMake] Make dist?

2006-05-03 Thread Craig Bradney
On Thursday 04 May 2006 01:24, 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: > > > > http://public.kitware.com/cgi-bin/viewcvs.cgi/CMakeLists.txt?rev=1.10 > > > >4& ro ot =CMake&view=markup > > > >

Re: [CMake] Make dist?

2006-05-03 Thread Filipe Sousa
On Thursday 04 May 2006 00:18, Craig Bradney wrote: > > > 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.104&; > > >ro ot =CMake&view=markup > > > > Ah! Legend.. thanks heaps. I'll sort the rest, ie copy and

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.104&ro > >ot =CMake&view=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 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 re

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

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? > > > > tha

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

Re: [CMake] Make dist?

2006-05-03 Thread Filipe Sousa
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 > Scribus Team make package_source for source make pack

[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 http://www.cmake.org/mail

Re: [CMake] Xcode generator problems

2006-05-03 Thread Axel Roebel
On Monday 01 May 2006 23:05, you wrote: > At 03:12 PM 5/1/2006, Axel Roebel wrote: > >Hi, > > > >I just tried to generate Xcode project files for some of my > >cmake supported sources. I encountered three problems: > > > >1) I tried to communicate -framework Carbon flags > >to the link stage. I tr

Re: [CMake] Xcode generator problems

2006-05-03 Thread Axel Roebel
On Wednesday 03 May 2006 16:08, you wrote: > Axel Roebel wrote: > > Thanks, in fact I found the problem! > > It is due to the repeated call of CollapseFullPath ("") which is used to > > determine the current absolute path cmDependsC.cxx > > for each dependency file with absolute path. > > > > This

Re: [CMake] Build/Link with static libs

2006-05-03 Thread Brad King
Christian Lang wrote: Christian Lang wrote: Alexander Neundorf schrieb: my first problem is solved: To link against "foo/libbar.a", the link line options "-Lfoo -lbar" are produced. This works. But what if for some reason I do not want to use it this way, but want to directly specify "foo/lib

Re: [CMake] building executable from static libs / rpath

2006-05-03 Thread Brad King
Christian Lang wrote: Then link them together into an executable: ADD_EXECUTABLE(exe ...) TARGET_LINK_LIBRARIES(exe ${START_WHOLE_ARCHIVE} ${SOURCE_LIBS} ${END_WHOLE_ARCHIVE} ${LIBS}) where SOURCE_LIBS are the static libs built in step one and LIBS are some shared libs. (START_WHOLE_ARCHIVE

[CMake] Cmake Error - When setting a variable in a module

2006-05-03 Thread Ryan Connelly
I am getting a strange error when trying to use a set variable from a module.   CMake Error: Key Config is not used yet. For now only $ENV{..} is allowed   From MzxFindPerl.cmake IF (NOT PERL_EXECUTABLE)  SET(PERL_FOUND "NO" )ELSE (NOT PERL_EXECUTABLE)  SET(PERL_FOUND "YES"

Re: [CMake] Xcode generator problems

2006-05-03 Thread Brad King
Axel Roebel wrote: Thanks, in fact I found the problem! It is due to the repeated call of CollapseFullPath ("") which is used to determine the current absolute path cmDependsC.cxx for each dependency file with absolute path. This call is extremely costly on the mac. And it seems completely unn

Re: [CMake] behaviour of CMAKE_INCLUDE_CURRENT_DIR ?

2006-05-03 Thread Brad King
Alexander Neundorf wrote: Hi, how does CMAKE_INCLUDE_CURRENT_DIR behave ? Let's say I do SET(CMAKE_INCLUDE_CURRENT_DIR ON) in my toplevel src/CMakeLists.txt. If a src/sub1/CMakeLists.txt contains add_executable(hello main.cpp) src/sub1/ will be part of the include path.

[CMake] sub source groups in a vcproj project.

2006-05-03 Thread Sylvain Benner
Hello,   I'm a new user. I want to use cmake for our cross-platform software. I'm trying to generate a vcproj project with sub source groups but it seems to be impossible with the current version of cmake. I coded this, but I can't have sub source groups with it :   #