> On Dec 15, 2020, at 17:22, Kevin André <hyperquan...@gmail.com> wrote: > > So I would suggest showing a > diff of the CMake file(s) to the user first and asking for > confirmation before actually applying each of the changes.
That would be a sensible requirement, yes. At some point it might be simpler for the user to navigate to the right file and position and press ctrl+v there. Of course an option is also to check if a single sensible place where to add the file to exists (single CMakeLists.txt file, single target, single add_target_sources/other-function-that-we-recognize) and then automatically add it, otherwise inform and require manual user action. How helpful that is in the overall landscape of CMake projects, I cannot tell. -- Eike Ziller Principal Software Engineer The Qt Company GmbH Erich-Thilo-Straße 10 D-12489 Berlin eike.zil...@qt.io http://qt.io Geschäftsführer: Mika Pälsi, Juha Varelius, Jouni Lintunen Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B _______________________________________________ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator