Andy,
thanks for the tutorial. It does exactly what I need. I copied and
modified the relevant pieces and it worked as expected on the first run.
Thanks
Martin
On 18.03.2008 18:27 Andy Lego wrote:
I wrote a quick tutorial (tested on Linux and Windows) for what you want to do:
Hi Martin,
Happy I could help.
Just make sure to rerun CMake when you add new input files.
Andy
On Wed, Mar 19, 2008 at 12:10 PM, Martin Fischer [EMAIL PROTECTED] wrote:
Andy,
thanks for the tutorial. It does exactly what I need. I copied and
modified the relevant pieces and it worked as
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 project I'm working on
On 11.03.2008 21:24 Andy Lego wrote:
Hi Andy,
so I tried the following
SET( SOURCEFILES
file1
file2
file3 )
FOREACH( FILE ${SOURCEFILES})
SET( EXECUTE
${EXECUTE}
${tool_EXE} ${CMAKE_CURRENT_SOURCE_DIR}/${FILE}.in
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 Lego wrote:
Hi Andy,
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
On Tuesday 11 March 2008, Martin Fischer wrote:
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
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:
Hi,
for a project I'm working on I need to do