Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.10.0-beta2
-
debian testing amd64 with KF5
Description
Ahoj!
I've noticed some glitches in developing cmake' INTERFACE library using QC, in particular:
- if CMakeLists.txt contains only INTERFACE target then its files always marked as "not part of any project" with many-many errors (see qc-interface-bug1.png)
- if CMakeLists.txt additionally contains target which uses the interface library then it becomes a little better – files of the library marked as "not part of any project" only before manually rerunning cmake (qc-interface-bug2.{1,2}.png correspondingly).
- if interface library uses target_sources then in case 2 everything works. I'd love to use this case but only after #15677 will be fixed.
Attachments
Issue Links
- is duplicated by
-
QTCREATORBUG-15677 Support for CMake INTERFACE libraries
- Closed