Re: make IDEs aware of the headers

2023-01-25 Thread Andrey Butirsky
Initially, I thought it's a Qt Creator problem too and filed an issue there: https://bugreports.qt.io/browse/QTCREATORBUG-28638 It happened out it's not a bug but a feature, also backed by CMake maintainers (see the link in the OP): The build system is our source of truth for which file bel

Re: make IDEs aware of the headers

2023-01-18 Thread David Redondo
Am Samstag, 7. Januar 2023, 16:40:27 CET schrieb Andrey Butirsky: > > Other IDEs should benefit too. KDevelop (and I think Kate too) displays headers in "Project" view without this. I am not convinced of this amount of work (and cluttering of our CMake files) to workaround IDE/editor deficienc

make IDEs aware of the headers

2023-01-18 Thread Andrey Butirsky
Hi all, let me introduce my finding we probably want for all KDE's CMake-based projects eventually. The idea is, wherever we add a source files to a project, we should also add a headers alongside: |add_library(my_lib [STATIC|SHARED|MODULE] [source.cpp source.h ...]) add_executable(my_exe