I’ve been wanting to use some functions from a large external library (Crypto++ aka cryptopp) in a plug-in project.
I built cryptopp as a static library (libcryptopp.a), but at about 50MB, it’s bigger than the whole rest of the compiled plug-in. Doesn’t seem like the way to handle it.
I am admittedly over my head with this, but trying to learn. Aside from trial and error, what are some established techniques for finding and including all the dependencies of a single .cpp file within a large library? Is there a name for a type of script that traverses library source code and pulls together the list of dependencies for a given file? (Or, even more focused, for a given function within a file)?
For the record, I already tried just dragging the .cpp file to the list of project files in Projucer, and listing the library source code directory in the “Header Search Paths” field. It’s unfortunately not that easy.