Closed Manuzor closed 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.
The general overhaul is done, so I'm closing this. Check out #18 for the actual build system rewrite.
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
andlib
as opposed tobin/Debug
,bin/Release
, etc. This means that our binaries will have a suffix such askrEngine-d.dll
or whatever.Feel free to drop in suggestions about a naming scheme.