You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 17, 2021. It is now read-only.
I have a project that uses polly to build a library for iOS and OSX, I have added unit tests via ctest which executes a class that uses GTest
I have one question, I have to add all the library source files to the runUnitTest exe definition.
e.g. I have added the following to my to level CMakeLists.txt
Is there a way force the library to build and link to it rather than pull in all the library source to the unit tests?
My library is defined as
I hoped it would build and link to the tests if I added:
But that caused the linker to fail when trying to find the foo library symbols used in the tests.
The text was updated successfully, but these errors were encountered: