I'm writing the cmake build for my qmake library project and I have discovered that when I open the same project ( eg. I have a qmake project ) like eg. cmake project, then Qt Creator overwrites or writes cmake build directory to the qmake's build directory because by default both build directories have the same path.
Currently the Default build directory template is something like this:
When I open qmake project, then QtCreator creates a build directory at:
Then I open another QtCreator instance and open cmake project and QtCreator creates a build directory at:
QtCreator doesn't provide any variable for the user to distinguish these build directories by the active build system.
Would be nice to have eg. ActiveProject:BuildSystem:Name variable that will contain the name of an active build system: cmake, qmake, qbs, ...
So user can change the Default Build Directory to something like this:
And QtCreator will generate path like this for cmake:
or this for qmake:
For now, I didn't find any satisfactory variable to use for this.