How do I use a downloaded library?

I’ve had a problem that I’ve been trying to solve for weeks. Google hasn’t been any help so it’s about time I ask on the forum.

I downloaded a C++ library called RogueLikeLib that consists of a single folder with header files and a few C++ source files. I haven’t the slightest idea of how to link this library with my project in Visual Studio 2013. Does anybody know how to do this???

If you want to be working with direct source code, just add all of the header files into your c++ project and re-generate the Visual Studio project, by right-clicking the ue4 project file and selecting regenerating Visual Studio projects.

This is a little messy and pollutes your game code’s directory. If that’s okay then that’s okay, but… The solution here if you don’t want it polluting your game code, would be to compile the library and link the library. There are a few tutorials that you can follow.

Linking Static Libraries Using The Build System or
Linking Dlls

Will it cross compile the source code you add? Do you have recommendations on how to do that not using visual studio?