2011/3/14 Enrique Izaguirre <enrique.izagui...@gmail.com>: > 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/x0148488/omapflash/cmake_build' > make[1]: *** [CMakeFiles/omap.dir/all] Error 2 > make[1]: Leaving directory `/home/x0148488/omapflash/cmake_build' > make: *** [all] Error 2 > > Even before doing the add_executable ( ), I display first the variable that > contains the list of files to build, and it indeed has all the files to > compile; somehow it only compiles the first one and then leave. Running make > with the VERVOSE=1 I can see the command, and it has only the first file of > the list; so CMake is generating the command wrong. > Can you explain why only one file is compiled and not the entire list?
Looks like some sort of typo. Could you give us the CMakeLists.txt extract with the offending commands? At least the source file list definition and the add_executable statement. and some more info: - platform/host/compiler - cmake version - native or cross-compiling -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake