lab132 / krepel

2 stars 0 forks source link

CMake Workflow Overhaul #17

Closed Manuzor closed 8 years ago

Manuzor commented 9 years ago

Since CMake is a real pain in the ass when you try to do something out of the ordinary, we must rework and bend our workflow to CMake's will.

One of the major things: CMake expects throughout the entire workflow (configure, generate, build, install) that all libs and binaries are in a single folder, i.e. directly in bin and lib as opposed to bin/Debug, bin/Release, etc. This means that our binaries will have a suffix such as krEngine-d.dll or whatever.

Feel free to drop in suggestions about a naming scheme.

Manuzor commented 8 years ago

As this is still open, I'll drop my progress here (as opposed to trello).

On the branch toolbox (see PR #18), I have create the following pattern:

Debug: "-debug" (e.g. krEngine-debug.dll) MinSizeRel: "-minsize" (e.g. krEngine-minsize.dll) RelWithDebInfo: "-reldeb" (e.g. krEngine-reldeb.dll) Release: "" (i.e. no postfix, e.g. krEngine.dll)

Also, stuff now gets built to :/bin and :/lib directly; no separate :/output folder anymore.

Manuzor commented 8 years ago

The general overhaul is done, so I'm closing this. Check out #18 for the actual build system rewrite.