You need to use CMake utility. It can create a vcxproj and sln file for any Visual Studio version. It works well, it is easy to compile project to lib file. Then you have to set "Additional Include Directories" and "Additional Library Directories" in your project. That's all.