This is my simple pre-make script for bootstrapping CMake for a small project
Use the [RAW] button on the Makefileto find the raw file location, then copy it to your clipboard. Download this file to your local project workspace via curl with the URL or the raw file.
$ mkdir new-project
$ cd new-project
$ curl -sSL https://gist.github.io/raw-path-to-this-gist > Makefile
$ make
premake5 - A more comprehensive and cross-platform/cross-architecture pre-make system.