Hi,
Let 's say I have 2 libraries libA and libB, and libA depends on libB, i.e. I set: target_link_libraries(libA libB). My goal is to build as much as possible of the libA and libB sources to detect all possible errors and send an error report to developers. For this, I compile the project with gmake -k. Now, my issue shows up if there is an error in libB. In that case, libA won't be built at all. I suspect this is due to the automatic dependency created by target_link_libraries, as specified in the doc: "If any library name matches that of a target in the current project a dependency will automatically be added in the build system to make sure the library being linked is up-to-date before the target links" ==> Is there any way to keep the default transitive dependency system so that link lines are computed automatically, but remove that make-dependency to enable gmake -k to try building all existing source files? Thanks Alexandre This email was sent to you by Thomson Reuters, the global news and information company. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.
_______________________________________________ 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
