On 02/25/2013 11:46 AM, Stephen Kelly wrote: > Brad King wrote: > >> If the option were to be on by default then instead there >> should be the reverse option off by default with a name like: >> >> CMAKE_LINK_DEPENDS_SHARED_LIBRARIES > > I implemented that but one of the dashboards already fails: > > http://open.cdash.org/testDetails.php?test=178646760&build=2827189 > > I don't know if that's just because of dirty-building, or because I extended > the test, or because my logical change has a bug.
It is a real failure. The problem is that on Windows the dependency goes through the import library (.lib), not the dll. The import library does not get updated when the .dll is rebuilt because the set of dllexport-ed symbols does not change. Therefore the _relink executable does not really need to relink. -Brad -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers