Jump to content

Ignore missing friends in the build


Recommended Posts

Hi all,

I have a class that has some methods that only need to be called by unit tests. I have defined these methods to be in the community scope, and the unit tests are class friends. So far, so good.

In another project I have a copy of the library folder (svn:externals), but the unit tests are not needed. If I run a build in this project, I get an error saying that the "unit test" vi is missing, since it is referenced by the lvclass file. And the build fails.

Is there a way ti make this problem go away, since the class friends are really not needed for the library in question. Nor are they needed by the library consumers. Right?

Thanks in advance and best regards, Mike

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.