Skip to content

Relative Path (i.e., ../) Dependency Breaking Methods #824

Answered by Letme
jyc-biz asked this question in Q&A
Discussion options

You must be logged in to vote

Just don't use relative paths and use proper include directives to point to those directories. Mocks come first so you won't have to worry about taking the wrong one.

So in your words: make proper build configurations. It helps when you want to refactor stuff or add more public includes.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jyc-biz
Comment options

Answer selected by jyc-biz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants