answered 2014-09-21 07:43:26 -0600
You can just put your algorithm in a separate hpp/cpp. Something like:
GiLDescriptor.hpp GiLDescriptor.cpp
At this point you can compile it and obtain your library. Link this in a new solution and you should good to go.