Re: [CMake] Batch converting several files

2008-03-19 Thread Martin Fischer
://www.cmake.org/Wiki/CMake:How_To_Process_Lots_Of_Input_Files Please let me know if this solves your problem. On Tue, Mar 18, 2008 at 12:15 AM, Martin Fischer <[EMAIL PROTECTED]> wrote: Andy, yes the ( is missing in my message. This happened when editing the post. Both () are there in my CMak

Re: [CMake] Batch converting several files

2008-03-18 Thread Martin Fischer
Martin On 17.03.2008 22:26 Andy Lego wrote: You are missing a ( after the ADD_CUSTOM_COMMAND. > On Mon, Mar 17, 2008 at 2:18 PM, Martin Fischer <[EMAIL PROTECTED]> wrote: Hi Andy, it seems I don't understand the direction you are pointing me to. I used add_custom_command in some

Re: [CMake] Batch converting several files

2008-03-17 Thread Martin Fischer
Andy Lego wrote: Hi Martin, When you add things to the custom target they will be executed in one step. What you want are custom commands. Look at the manual for add_custom_command. Andy On Sun, Mar 16, 2008 at 8:31 AM, Martin Fischer <[EMAIL PROTECTED]> wrote: On 11.03.2008 21:24 Andy Leg

Re: [CMake] Batch converting several files

2008-03-16 Thread Martin Fischer
. Where am I going wrong? Regards Martin Hello Martin, You cannot nest commands and constructs. Move the FOREACH before the custom target and set a variable in it. Then use the result in the custom target. Andy On Tue, Mar 11, 2008 at 12:44 PM, Martin Fischer <[EMAIL PROTECTED]> wrote:

Re: [CMake] Batch converting several files

2008-03-16 Thread Martin Fischer
Alex, sorry for the late reply. I'm receiving this list in digest mode. It looks tlike the system had a hicup as I didn't receive any messages for a few days. On 14.03.2008 16:02 Alexander Neundorf wrote: On Tuesday 11 March 2008, Martin Fischer wrote: > Hi, > > for a

[CMake] Batch converting several files

2008-03-11 Thread Martin Fischer
Hi, for a project I'm working on I need to do the following build steps: - compile an executable from source - run this executable to convert several files - for each input file in source directory there will be one output file in build directory. I tried several variants of he following but di