Clarification: Should dependencies with DependencySetting.IncludePaths trigger "Cyclic dependency" errors? #415
-
|
Hello folks, I'm encountering a scenario in Sharpmake where two targets depend on each other, but each with different Here's the scenario:
In this case, since the dependency from A to B is purely about include paths (no linking is involved), I would not expect a cyclic dependency issue. However, Sharpmake currently throws a cyclic dependency exception. But before proceeding, I'd like to confirm: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi, This is surely not something I would want to permit as this is the kind of thing we are trying to fight against at Ubisoft in our internal code bases. |
Beta Was this translation helpful? Give feedback.
-
|
thanks |
Beta Was this translation helpful? Give feedback.
Hi,
My feeling is this is still conceptually a cyclic dependency. It is the kind of thing we want to avoid even if this is only a cycle in include paths.
Could you move the interface headers in another interface only project?
This is surely not something I would want to permit as this is the kind of thing we are trying to fight against at Ubisoft in our internal code bases.