Hello again, Sometimes we don't have control on external libraries compilation and we don't know which compiler was used to generate external libraries
now my questions is, Is there a CMake-standard-way to proceed in these cases? What is the best way to specify dependencies depending on the compiler? Thanks in advance. Víctor. 2015-04-20 12:57 GMT+02:00 victor sv <[email protected]>: > Ok Nils, > > thanks for your help :) > > Best regards, > Víctor. > > 2015-04-20 12:33 GMT+02:00 Nils Gladitz <[email protected]>: > >> On 04/20/2015 12:28 PM, victor sv wrote: >> >>> After googling and reading this: >>> >>> >>> http://www.opal-rt.com/kb-article/undefined-reference-intel-fast-memset-build-error-related-rte-delay >>> >>> I try to link against libirc.a and libimf.a and it works fine. I do >>> other test compiling a shared METIS library with Intel compilers and it >>> works too. >>> >>> There is something that I'm not well understanding ... If I build a >>> static library, even with Intel compilers,shouldn't this library contain >>> all the needed symbols? >>> >> >> A static library is basically a container of object files. >> Library dependencies are normally neither included within that container >> nor are they recorded. >> >> Nils >> > >
-- 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://public.kitware.com/mailman/listinfo/cmake
