Someone else did this before me, but I can't find the gist anymore so I'll make another one. I'm going to be using this for my personal projects in the future, including this one. This is going to be a Linux tutorial, and for now I've been using Fedora, but it should be cross-distro compatible. Actually this is for CLion, but looking at it once more, I think it is applicable to other IDEs, as well as just manually doing it on your own. But I won't help you with that!