Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Martin Lutken
If you do cmake -f client.txt, then every add_subdirectory and subdirs will now look for client.txt. That is not the way make -f works. If you do make -f it just changes the initial makefile that is read into make, after that it is up to the makefile writer to use include, or recursive

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Bill Hoffman
Martin Lutken wrote: That might work too. I also does not understand why You are soo resistant to a minor feature which couldn't really hurt anyone? I just want to make sure it is a feature that we want. I will be one of the ones supporting it for as long as CMake is around. As it is

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Martin Lutken
On Tuesday 15 January 2008 16:40, you wrote: Martin Lutken wrote: That might work too. I also does not understand why You are soo resistant to a minor feature which couldn't really hurt anyone? I just want to make sure it is a feature that we want. I will be one of the ones supporting

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Bill Hoffman
Martin Lutken wrote: Hmm well I see It can wait anyway. I allready do the include-trick from the general Makefile, but in the transitional phase for a large project it would be much easier to be able do it that way. Maybe it's because I never really used CMake GUI frontends Only

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Brandon Van Every
On Jan 15, 2008 7:03 AM, Martin Lutken [EMAIL PROTECTED] wrote: Simple example from my actual codebase. CBS (Common Build System) makefiles for zlib and libpng, which depends on zlib (install stuff not included): --- z.cbs --- TARGET_DEFAULT_VERSION ( 1 2 3 ) ADD_SOURCE_FILE ( adler32.c

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Andreas Pakulat
On 15.01.08 11:37:12, Brandon Van Every wrote: I'm unclear. What is the strategic purpose of CBS? If I understood correctly, the purpose is to (at some point) build foobar, including all deps completely with cbs. To me this totally sounds like Gentoo with cmake files as emerge replacement.

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Brandon Van Every
On Jan 15, 2008 11:46 AM, Andreas Pakulat [EMAIL PROTECTED] wrote: On 15.01.08 11:37:12, Brandon Van Every wrote: I'm unclear. What is the strategic purpose of CBS? If I understood correctly, the purpose is to (at some point) build foobar, including all deps completely with cbs. But is it

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Andreas Pakulat
On 15.01.08 12:05:36, Brandon Van Every wrote: On Jan 15, 2008 11:46 AM, Andreas Pakulat [EMAIL PROTECTED] wrote: On 15.01.08 11:37:12, Brandon Van Every wrote: I'm unclear. What is the strategic purpose of CBS? If I understood correctly, the purpose is to (at some point) build

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Brandon Van Every
On Jan 15, 2008 2:54 PM, Andreas Pakulat [EMAIL PROTECTED] wrote: What I meant is, it looks like cbs wants to use CMake to replace the normal package manager in a source-based distro. I still don't quite get it, perhaps because I have no practical experience preparing packages for

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Alexander Neundorf
On Tuesday 15 January 2008, Martin Lutken wrote: ... Well hope that gave you an impression of what it is. So the reason I need an anternative name for the CMakeLists.txt file is that I wan't CBS makefiles to be able to live side by side with a projects own CMake files. I'm not sure this is a

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! Introduction to Common Build System

2008-01-15 Thread Brandon Van Every
On Jan 15, 2008 7:39 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: Adding a layer written in cmake on top of cmake doesn't sound good IMO. I think my main problem with autotools was that they were a set of tools, you had to learn and know each of them, and if one of them failed I was