Version: 4.2.0 (using KDE 4.6.0) OS: Linux Build directory is not created when adding new build configuration for existing project and specifying build path contains more then one directory to be created. Reproducible: Always Steps to Reproduce: 1 Create new cmake project and set build directory to <project dir>/build/debug 2 Open project configuration and add new build configuration in the cmake tab. Specify build dir like this: <project dir>/build/android/debug (directory 'android' must not exists) Actual Results: directory: <project dir>/build/android/debug is not created and files generated by cmake are written to ${HOME}/Documents directory (at least in case of Archlinux) Expected Results: directory structure 'android/debug' should be created and files generated by cmake should go there. Everything works fine if I create directory by myself and then add new build configuration pointing to it. Everything is fine also if directory structure to be created is simply one directory (like '<project dir>/build/release' when '<project dir>/build' is existing directory)
Git commit 1495e99b6fc4b2fcd72dd5d8d20ccb9da073cb5a by Aleix Pol. Committed on 08/03/2011 at 03:19. Pushed by apol into branch '4.2'. Use mkpath instead of mkdir t ocreate a builddir. The user can be expecting KDevelop to create more than one step in the path. BUG: 265966 M +1 -1 projectbuilders/cmakebuilder/cmakejob.cpp http://commits.kde.org/kdevelop/1495e99b6fc4b2fcd72dd5d8d20ccb9da073cb5a