Reputation: 6550
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://snap.stanford.edu/snap/description.html
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 ?
Upvotes: 0
Views: 100
Reputation: 6550
I solved my problem by using Boost and using the bcp utility to extract the relevant pieces of the library.
Upvotes: 0
Reputation: 1916
Upvotes: 1