[cmake-developers] Unix makefile: concurrent build configurations
Florent Castelli
florent.castelli at gmail.com
Tue Aug 23 04:57:27 EDT 2016
Well, I imagine we could have a shim that will automatically create
sub-build directories when you specify a CONFIGURATION=... argument or
just starts the build in there.
And if a build folder is missing but the configuration is declared, it
would run CMake with similar startup arguments.
In practice, it would be the same generator, with some extra logic in
the main Makefile.
/Florent
On 22/08/2016 13:55, Tobias Hunger wrote:
> Hi Steve!
>
> On Do, 2016-08-18 at 15:37 -0500, Steve Lorimer wrote:
>> New to this list, so apologies if it's been discussed before.
>>
>> I'd like to know why it's not possible to have both debug and release mode
>> builds configured at the same time for Unix makefiles?
> You can have an arbitrary number of configurations at once, all nicely separated
> from each other in their own build directory. Nobody stops you from having
> several build directories after all.
>
>> I am aware that some generators (eg VisualStudio) do allow this behaviour.
>> Why can I not have the same behaviour with Unix makefiles?
> IMHO VisualStudio is rather broken in that regard. Please do not let the
> insanity pass over to Makefiles! :-)
>
> Best Regards,
> Tobias
>
More information about the cmake-developers
mailing list