I'm creating a c++ game engine, and I intend to use SFML for the graphics, audio, and input. I'm also using cmake to generate my build files, so that I have an easy way to test it across multiple OS'. I'm wondering what the correct/proper approach is to integrating SFML into a setup like this.
Should I have a copy of the SFML libraries for each OS (win/unix/mac), and somehow specify in CMake which of the libraries to include? Or do I include the SFML source into my project source and build the libraries along with my project?
My engine is building its own shared libraries and linking to those, so I understand the basics of this. I'm just not sure how I should be including other people's libraries into my project, and making it so that it functions across multiple OS'. Thanks.