<div dir="ltr">Dear users,<div><br></div><div>With cmake 3.2.2 doing the following with VS 2013:</div><div>add_library(ObjectLib OBJECT source1.cpp source2.cpp)</div><div>add_library(MyDll SHARED $<TARGET_OBJECTS:ObjectLib)</div><div><br></div><div>there seems to be a problem that there is no explicit dependency added between the shared library and the object files. In other words: I noticed VS trying to link the dll, and then complaining that the object files didn't exist, which was indeed true.</div><div><br></div><div>The workaround is to:</div><div>add_dependency(MyDll ObjectLib)</div><div><br></div><div>With cmake 3.5.2 I noticed this problem is gone, and the workaround could be removed. Apparently the bug was noted and solved. However, I can't find a reference to such a bug on <a href="https://cmake.org/Bug/changelog_page.php">https://cmake.org/Bug/changelog_page.php</a>. </div><div><br></div><div>Does anyone know whether this bug was solved as part of some other bug or feature and if yes, which one?</div><div><br></div><div>Sincerely,</div><div>Jakob van Bethlehem</div><div><br></div></div>