On Thu, 31 Oct 2013 22:08:27 +0100 Ivan Sergio Borgonovo <[email protected]> wrote:
[snip] > The only difference I can spot is that others contains global symbols > that are referenced in C files[1] or in the linker options[2] while > the only one that doesn't get compiled and linked contains symbols > that are referenced just in another ASM file[3]. [snip] > My guess is that cmake understand the dependency between a C file or > a linker option and an asm file but it doesn't understand the > dependency between an asm file and another asm file. Adding an explicit dependency[1] made cmake compile the missing asm file but I haven't been able to force linking with the main executable. [1] add_dependencies(asm1 asm2) where asm1 contains symbols defined in asm2 but asm2 didn't get compiled. -- Ivan Sergio Borgonovo http://www.webthatworks.it -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
