Registered Member
|
Hello, I can not configure my project from kdevelop. I click on Project -> Open/Import project, then navigate to my source folder and select CMakeLists.txt. I click on 'Next' and select cmake as project manager. A dialog window pops up where I can fill cmake extra arguments. My problem is that these arguments are always ignored, no matter what I do. Configuration from terminal is fine, configuration with qtcreator works correctly as well. Is this a bug?
I also tried custom build configuration, specified cmake as my executable during the configuration step and filled extra arguments. This crashes kdevelop every time I try to actually configure my project. Another annoying thing is that once the build directory is configured and the project is open, it seems to be impossible to re-configure the build from within kdevelop, I can only see contents of cmake cache (which clearly shows that cmake ignored the extra arguments). I'm using kdevelop 4.7.0 on Arch linux. Am I doing something wrong? Does kdevelop currently work with cmake? Thank you for any help. Martin Vymazal |
Registered Member
|
Will have to investigate this, I think it works here. Would you mind reporting a bug?
Thanks a lot! |
Registered Member
|
Hi,
in fact, it was my mistake, sorry. I tried to make a minimal working example to demonstrate the problem, but the example worked fine. Then I realized that the extra arguments I was passing to cmake contained environment variables like $HOME. Qtcreator knows how to expand them, and I just copy-pasted to Kdevelop. What I didn't realize is that Kdevelop would not process environment variables and instead, it silently dropped all arguments containing $HOME. My apologies. Martin Vymazal |
Global Moderator
|
Ah, good, then at least the reason for your problem is clear now. This still sounds like a valid bug / wish request to me, you can report it if you like.
I'm working on the KDevelop IDE.
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]