SUMMARY Reloading project files generates a dependency files (*.d) of all source files of the project in the users home directory. It seems this only happens if the project is split up into multiple libraries (used wiht add_subdirectory / target_link_libraries) STEPS TO REPRODUCE 1. create a simple cmake project (with module in subfolder) 2. reload project files OBSERVED RESULT *.d files are generated in the home directory EXPECTED RESULT no *.d files in the home directory SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE neon User Edition 5.16 KDE Plasma Version: 5.16.1 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.3
I've never seen this happen :) can you please attach the example project you used? how did you configure it - purely from kdevelop or also from the command line? what version of cmake do you use?
(In reply to Milian Wolff from comment #1) > I've never seen this happen :) can you please attach the example project you > used? I tried to create a minimal example but this seemed to work as it should. one if my older project not but that one, I can't attach here > how did you configure it - purely from kdevelop or also from the command > line? I used it from both, kdevelop and cmd line > what version of cmake do you use? always a quite recent one (3.16.4 atm)
can you try the latest kdevelop version from git master which uses the cmake file api instead of the cmake server mode? maybe that fixes this?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
I tried it with the git version, same result. opening one of my 'older' project, *.d files for all c-files were created in the home directory. it doesn't happen on the sample project I created. As I don't have the time to investigate further, I'll close it for now...