SFML, in this case, has a Git repo and a download page. Until now I have always downloaded from the download page, which came (at least for the compiler I use) with .a
and .hpp
files and could easily be used with MinGW with -l
and -i
tags.
When I wanted to use this on Github, though, a couple of problems arised.
When copying it into the repo on the first commit, the Github graph would show 22k changes on the first commit and only a couple hundred on the following commits. I got around this by putting the download into a private repo and using it as a submodule. This isn't very elegant and still has the problem of being OS/compiler-specific.
Using the official Github repo as a submodule. But how do you use external raw
cpp
andhpp
files? Do you put the necessarycpp
files into the Makefile? If so, what are the downloads on the download page for?
.gitignore
or to.git/info/exclude
, though? – Post Self Jan 23 '17 at 16:13