Summary: | Importing a CMake project never finishes | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Eric <sidneybechet> |
Component: | Build tools: CMake | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | sidneybechet |
Priority: | NOR | Keywords: | release_blocker |
Version: | 4.6.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevelop/492af697f18924a798744a33c3fe0c0a81a9f3b8 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Minimal c++ Cmake project that shows the issue. |
Description
Eric
2014-03-28 08:56:14 UTC
Created attachment 85805 [details]
Minimal c++ Cmake project that shows the issue.
Please import the outermost (root) CMakeLists.txt in Kdevelop.
This might be related to the other CMake bug we have with cyclic dependencies. Aleix, please check. See bug 330697. Git commit 492af697f18924a798744a33c3fe0c0a81a9f3b8 by Aleix Pol, on behalf of Pavel Petrushkov. Committed on 01/04/2014 at 11:04. Pushed by apol into branch '4.6'. Fix for importing a CMake project with missing directories Importing project with nonexisting, but added in add_subdirectory() directories no longer causes KDevelop to load forever. Problem was in creating CMakeCommitChangesJob before checking if directory actually exists. REVIEW: 117213 M +5 -0 projectmanagers/cmake/cmakeimportjob.cpp http://commits.kde.org/kdevelop/492af697f18924a798744a33c3fe0c0a81a9f3b8 |