Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Enrique Izaguirre
Thanks guys. It is doing it right. Best Regards Enrique On Mon, Mar 14, 2011 at 3:22 PM, Enrique Izaguirre < enrique.izagui...@gmail.com> wrote: > OK, I couldn't even imagine that. > > Really appreciate, I'll make another try. > > Best Regards > > Enrique > > > > On Mon, Mar 14, 2011 at 3:09 PM

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Andreas Pakulat
On 14.03.11 15:04:54, Enrique Izaguirre wrote: > Hi Alex, > > This is the whole output from the make. I can only see warnings: > > /bin/gcc-linux -DCOMDRIVER_EXPORTS -DBUILD_FIX_TMP -DFIX_WIN32 -DNO_ZIP > -D_DEBUG -D_CONSOLE -I/home/x0148488/omapflash/cmake_build > -I/home/x0148488/omapflash -I/

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Michael Jackson
YOu have this argument to gcc: -Werror which means treat warnings as errors. Either remove the flag or fix the warnings. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Tyler
Enrique, I think the -Werror flag is the problem: http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html "-Werror Make all warnings into errors." hth, tyler On Mon, Mar 14, 2011 at 2:04 PM, Enrique Izaguirre wrote: > Hi Alex, > > This is the whole output from the make. I can only see warn

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Enrique Izaguirre
Hi Alex, This is the whole output from the make. I can only see warnings: /bin/gcc-linux -DCOMDRIVER_EXPORTS -DBUILD_FIX_TMP -DFIX_WIN32 -DNO_ZIP -D_DEBUG -D_CONSOLE -I/home/x0148488/omapflash/cmake_build -I/home/x0148488/omapflash -I/home/x0148488/omapflash/comdriver/inc -I/home/x0148488/omapfl

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Alexander Neundorf
On Monday 14 March 2011, Enrique Izaguirre wrote: > Hello friends, > > I have a problem when I try to compile several files, for some reason it > takes only the first of the list to build it. > It displays a few warnings and at the end the following error: > > make[2]: *** [CMakeFiles/omap.dir/host

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Enrique Izaguirre
Thank you Eric. The section in the main CMakeLists.txt is as follows: set (FILES "") message ("Adding subdirectory host...") include (host/CMakeLists.txt) message ("FILES = ${FILES}") foreach (FILE ${FILES}) set (hostFiles ${hostFiles} host/${FILE}) endforeach (FILE) message ("hostFiles = ${

Re: [CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Eric Noulard
2011/3/14 Enrique Izaguirre : > Hello friends, > > I have a problem when I try to compile several files, for some reason it > takes only the first of the list to build it. > It displays a few warnings and at the end the following error: > > make[2]: *** [CMakeFiles/omap.dir/host/fastboot.c.o] Error

[CMake] Compiling multiple files, only takes the first one

2011-03-14 Thread Enrique Izaguirre
Hello friends, I have a problem when I try to compile several files, for some reason it takes only the first of the list to build it. It displays a few warnings and at the end the following error: make[2]: *** [CMakeFiles/omap.dir/host/fastboot.c.o] Error 1 make[2]: Leaving directory `/home/x0148