WIP: Add cmake and rework into single executable #193
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
EARLY DRAFT
A bunch of things are missing or broken
Note: Premake is not required to compile only to change the make system itself. Premake does reduces a lot of Makesystem complexity tho and makes it easy to have static linked debug builds.After wrestling with Makefiles and Premake for a while I decided to give up and add the additional requirement of cmake. Cmake makes a lot of the issues trivial (switching output plugin between shared and static for example) and also makes it easy to move from Cygwin to MSVC in the future as Visual Studio can load cmake projects out of the box.
I also decided on using crazy-complete to be able to auto generate completion scripts. I don't think crazy-complete supports PowerShell but it does export to Bash, Zsh, and Fish.