Re: [CMake] Problem copying generated files in an out-of-source build

2009-09-28 Thread Eric Tellefsen
MakeLists.txt: > > project(depends_on_generated) > ... > # add the generated binary dir to the search paths > include_directories(${generated_BINARY_DIR}) > ... > > BR, Anatoly > > Eric Tellefsen: > > > > I am having some trouble with the following. >

[CMake] Problem copying generated files in an out-of-source build

2009-09-24 Thread Eric Tellefsen
I am having some trouble with the following. I have a static library project which has a tree structure of the main directory and a group of sub directories. The main project has a CMakeLists.txt file as well as the sub directories. Each of the sub directories CMakeLists.txt file generates .c

Re: [CMake] Problem with ADD_CUSTOM_COMMAND & ARGS

2009-09-18 Thread Eric Tellefsen
Tyler, Shortly after postiing this followup I was able to resolve my problem via VERBATIM and some 'creative quoting' Thanks for your help, Eric Tyler Roscoe wrote on 09/17/2009 01:11:43 PM: > On Thu, Sep 17, 2009 at 08:24:28AM -0400, Eric Tellefsen wrote: > > On the pl

Re: [CMake] Problem with ADD_CUSTOM_COMMAND & ARGS

2009-09-17 Thread Eric Tellefsen
> On Wed, Sep 16, 2009 at 04:27:48PM -0400, Eric Tellefsen wrote: > > Solaris make > > My condolences :p. > > > My problem has to do with the ARGS section of the custom command. > > Specifically the 'legacy' Makefile uses an argument --include-regex >

[CMake] Problem with ADD_CUSTOM_COMMAND & ARGS

2009-09-16 Thread Eric Tellefsen
Hi, During one of my more complex migrations from Solaris make to CMake, I have run into a problem with an argument passed into the custom command. A key part of this project generates CXX & HXX source files from a series of .xsd files in project sub directories. In order to reuse this funct

[CMake] Build Dependencies problem

2009-07-14 Thread Eric Tellefsen
Hi, I'm new to the list and relatively new to CMake. I'm currently in the process of attempting to migrate an existing project to CMake (from plain Unix makefiles) The source files for each library are in a series of subdirectories as illustrated in the simple diagrams at the bottom of the ma