https://bugs.kde.org/show_bug.cgi?id=379942
Bug ID: 379942 Summary: Cannot set build dir for cmake project without CMakeLists.txt in project root Product: kdevelop Version: git master Platform: Compiled Sources OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Build tools: CMake Assignee: kdevelop-bugs-n...@kde.org Reporter: aspotas...@gmail.com Target Milestone: --- I would like to open a cmake-based project (let's call it myproject) where the root CMakeLists.txt in located in an "myproject/src/" subdirectory. I have created a .kdev4 project file like this: [Project] CreatedFrom=src/CMakeLists.txt Manager=KDevCMakeManager Name=myproject , but when I open it in KDevelop, I can't reuse an old build dir "myproject/build/" which points to the source dir "myproject/src/": when I try, KDevelop complains with the following message: === setStatus(i18n("This build directory is for %1, " "but the project directory is %2.", srcDir, m_srcFolder.toLocalFile()), false); === (see kdevelop/projectmanagers/cmake/cmakebuilddirchooser.cpp, lines 231-232). P.S. Of course I can open myproject/src as a CMake project, but then I lose access to the other files from KDevelop. -- You are receiving this mail because: You are watching all bug changes.