Solved Qt build folder has sub folders for debug and release
-
The project I'm working on has an odd folder structure, the build directory is set as follows:
C:\Users\u49100\Documents\build-PSU-Desktop_Qt_5_8_0_MSVC2013_32bit-Debug
Inside this folder there are also sub-folders:
debug release
I'm not sure how or why its been done this way on other projects these are not present and the objects and executable is built in the root of the build folder.
-
@SPlatten Yes, this is on Windows. I'm not sure why, but it's "normal"
-
@SPlatten This is actually default behaviour on Windows.
The reason for "debug" and "release" subfolders is simple: to not to mix debug and release build artefacts. -
But there are already separate build folders for each:
C:\Users\u49100\Documents\build-PSU-Desktop_Qt_5_8_0_MSVC2013_32bit-Debug C:\Users\u49100\Documents\build-PSU-Desktop_Qt_5_8_0_MSVC2013_32bit-Release
Each of these has sub-folders called debug and release.
-
@SPlatten Yes, this is on Windows. I'm not sure why, but it's "normal"
-
Seems very odd.
-
Hi,
That comes from how Visual Studio works. Qt Creator handles out of source builds on all platform the same because the toolchains usually works from within the folder you call them in.
What you see here is Visual Studio doing the same, except that its own behaviour is to create separate build/release folder for the reasons @jsulm wrote and continue the process in the one corresponding to the build type going on.
-
-
Thats exactly what I was looking for, thank you!