Re: [CMake] Executing processes as part of a COMMAND option in add_custom_command

2011-04-14 Thread Michael Hertling
On 04/14/2011 12:44 PM, J.S. van Bethlehem wrote: > Dear users, > > As a new user CMake I've come across some things I don't fully > understand yet. Here is such a thing: > when I build documentation, I want to run some files from a 'demo' > subdirectory and create output - suppose the (binary)

[CMake] Executing processes as part of a COMMAND option in add_custom_command

2011-04-14 Thread J.S. van Bethlehem
Dear users, As a new user CMake I've come across some things I don't fully understand yet. Here is such a thing: when I build documentation, I want to run some files from a 'demo' subdirectory and create output - suppose the (binary) file is called 'func1_demo', then in my old Makefiles I use