Hi Victor,
I think that a possible solution is to create two separate folders
- cmake_build
- cmake_build_debug
In the first one you can set up the configure.bat for the Release version, in the second one you can modify it for Debug, like you did.
This is what we are doing in linux. This solution does not duplicate the source code, because kratos is outside, and all the results of the configuration and compilation are bounded to the folder.
Maybe others will give you better options,...
Regards,
Miguel Ángel