-
Notifications
You must be signed in to change notification settings - Fork 72
Dependent libraries rebuilt #543
Copy link
Copy link
Open
Description
Hi,
I am experiencing the following "issue". In the same project, using CMake/common, I have two libraries lib1 and lib2, and lib2 depends on lib1. Each library has its own directory with its own CMakeLists.txt. Now, when touching the lib1/CMakeLists.txt, both libraries rebuilt/relinked as expected, but when touching lib2/CMakeLists.txt, again both libraries get rebuilt, when only lib2 should be affected. I have tried in a small project with and without CMake/common and this only happens with the latter.
Could it be related to version.{h,cpp} being regenerated when touching any of the CMakeLists.txt files?
Any ideas on how to avoid this?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels