It seems like we need to create separate folder for each build type (debug/release), run cmake on each, and generate separate makefile for debug/release configuration. Is it possible to create one single makefile using cmake that supports both debug/release configuration at the same time and when we actually run “make” that will create separate folders for the intermediate and final products (like the dlls, exe).
It seems like we need to create separate folder for each build type (debug/release),
Share
As far as I know, this cannot be achieved using a single set of build scripts. However, what you can do is have two sub-directories of your working area:
Then do:
If necessary, you can add another build script in the
builddirectory as such: