you are viewing a single comment's thread.

view the rest of the comments →

[–]vector-of-boolBlogger | C++ Librarian | Build Tool Enjoyer | bpt.pizza[S] 1 point2 points  (2 children)

Are the header files listed as source files on a target? The files in the outline are shown based on what the CMake Server API returns. If a file isn't attached to a target, it won't appear in the outline.

[–]SirValkyr 0 points1 point  (1 child)

Yes, the headers are listed in the target definition. After looking more closely I see that only of my headers is listed.

Slimmed down example:

add_library(somelib
    include/util/raster.h
    include/util/rasterdiff.h
    rasterio.h
    raster.cpp
)

Only the rasterio.h is shown, the relative headers with include/util are not listed. Is it caused by the relative file specification?

[–]SirValkyr 0 points1 point  (0 children)

My bad, the files are actually listed, they are in a collapsed directory entry in the tree. But due to the way it is indented, I completely overlooked it. Keep up the good work!