Re: [CMake] makefile generator

2007-04-18 Thread Jesper Eskilson
2007/4/18, Bill Hoffman <[EMAIL PROTECTED]>: Jesper Eskilson wrote: > Hi all, > > I'm curious about the design of the current makefile generator, and > why it was designed the way it was. I've tried searching the mailing > list archive, but without any greater success. > > One question pops to mi

RE: [CMake] Re: Avoiding convenience libs

2007-04-18 Thread Kishore, Jonnalagadda (IE10)
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Pascal Fleury > Sent: Wednesday, April 18, 2007 3:45 AM > To: cmake@cmake.org > Subject: Re: [CMake] Re: Avoiding convenience libs > > On Tuesday 17 April 2007 23:55:44 Matthew Woehlke wrote: > > WAG:

[CMake] Re: another really basic question

2007-04-18 Thread David Cole
What page in the book...? Try "LESS" instead of "less" (note the capital letters) CMake is only semi-case-insensitive -- it used to be all uppercase all the time. Lots of folks didn't like it, so the CMake guys made the CMake *commands* work regardless of case, but some command args (like LESS f

Re: [CMake] Really Basic Question

2007-04-18 Thread Alan W. Irwin
On 2007-04-18 23:41- [EMAIL PROTECTED] wrote: I created a CMakeLists.txt file with the following: # set a list of items SET(items_to_buy apple orange pear beer) # loop over the items FOREACH (item $(items_to_buy)) MESSAGE( "Don't forget to buy a $(item)" ) ENDFOREACH (item $(ite

Re: [CMake] Really Basic Question

2007-04-18 Thread David Cole
Try curly braces {} instead of parentheses () :-) David On 4/18/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I created a CMakeLists.txt file with the following: # set a list of items SET(items_to_buy apple orange pear beer) # loop over the items FOREACH (item $(items_to_buy)) M

[CMake] Really Basic Question

2007-04-18 Thread dfeustel
I created a CMakeLists.txt file with the following: # set a list of items SET(items_to_buy apple orange pear beer) # loop over the items FOREACH (item $(items_to_buy)) MESSAGE( "Don't forget to buy a $(item)" ) ENDFOREACH (item $(items_to_buy)) MESSAGE( $(items_to_buy) ) when I run ei

[CMake] error in custom Find module and use

2007-04-18 Thread dean.inglis
Hi, just need a little push to get over the hump here.. I have a set of vtk custom classes built into static libs with the cmake set up modelled after VTK/Examples/Build/vtkMy: but called vtkLocal. I am building a KWWidgets app that requires vtkLocal: in my kww app CMakeLists.txt: FIND_PACKAGE(

Re: [CMake] makefile generator

2007-04-18 Thread Brad King
Bill Hoffman wrote: > Jesper Eskilson wrote: >> I counted at least three levels on my project, where the leaf >> make process only compiles a single file (!), where each make process >> does the complete phase of parsing, building up a dependency tree, >> etc. It is not as bad as it looks. Each r

Re: [CMake] makefile generator

2007-04-18 Thread Bill Hoffman
Jesper Eskilson wrote: Hi all, I'm curious about the design of the current makefile generator, and why it was designed the way it was. I've tried searching the mailing list archive, but without any greater success. One question pops to mind: why invoke use so many levels of recursive make? I co

[CMake] makefile generator

2007-04-18 Thread Jesper Eskilson
Hi all, I'm curious about the design of the current makefile generator, and why it was designed the way it was. I've tried searching the mailing list archive, but without any greater success. One question pops to mind: why invoke use so many levels of recursive make? I counted at least three lev