vendredi 13 mars 2015

Using a subset of functionality from a Library in C++


I am using SNAP library in one of my project. I have a #include"Snap.h" which gives me the entire library's functionality. However, I am just using the k-core algorithm and the underlying graph DS.


There is a lot of extra DS+Algorithms provided by the library as discussed here: http://ift.tt/1KE1kT2


If I compile the entire project and link my code with this library, it seems I will end up with a lot of extra stuff? Also I need to have the entire project directory setup for including appropriate headers.


The situation seems quite generic to C++, is there a quick and easy way to compile a subset of this library with only the features I need ?




Aucun commentaire:

Enregistrer un commentaire