Re: [CMake] ADD_CUSTOM_COMMAND, crating file with echo redirection, platform independent

2010-11-01 Thread Michael Hertling
On 10/27/2010 08:02 PM, Arne Pagel wrote: Hello, I need a custom command in my build process. The tool that I am using has a small problem, I have to insert a line of code in the output file manually: #include gtk/gtk.h I tried this with echo and output redirection: echo #include

[CMake] ADD_CUSTOM_COMMAND, crating file with echo redirection, platform independent

2010-10-27 Thread Arne Pagel
Hello, I need a custom command in my build process. The tool that I am using has a small problem, I have to insert a line of code in the output file manually: #include gtk/gtk.h I tried this with echo and output redirection: echo #include gtk/gtk.h images.c The tool, gdk-pixbuf-csource, is