How can I mine my fork of bitcoin since setgenerate was removed

As many of you know, in Bitcoin Core v0.13, the setgenerate command was removed from the bitcoin-qt wallet debug console. This means you can no longer CPU mine from the wallet (for obvious reasons). I am having a ton of fun forking bitcoin and making my own coin just to learn how crypto works, but because setgenerate was removed, I can’t figure out how I am supposed to mine/test my forked crypto.

Before I could just use “setgenerate” and immediately start using my new crypto. Is there some alternative way to do this now that it no longer exists? Do I have to use an external program like CGMiner now?