Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
None
-
Qt Creator 3.6.0
Description
My CMake project contains some header-only libraries, e.g.:
add_library(foo INTERFACE)
target_sources(foo INTERFACE foo.h)
Qt Creator unfortunately sees that target, but doesn't display the sources (in this case, foo.h) in the project browser. It would be nice if it would
Attached a simple test project, just open it in Qt Creator - foo.h is not in the project browser, although it's in the target_sources for the 'foo' header only library
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-22769 cmake INTERFACE lib: "file is not part of any project"
- Closed
- is duplicated by
-
QTCREATORBUG-18762 Cannot detect include directories with cmake project
- Closed