Library I’m trying to use has python bindings, examples and google tests (all .cpp files). I certainly don’t need them on Teensy. I’m trying to filter them out as you can see in the example. They are not located inside project’s src directory but inside library’s src directory. What’s the right way of doing this?
#2: “Tests should not depend on the main application source code”
Also note
" Linking the main application source code from src_dir with a test suite code will lead to multiple compilation errors. Hence, the Shared Code is disabled by default."
That means you should write independent test code without testing the libraries. So your test code should not depend on external libraries. If there are dependencies you should write a mockup.