Mac Framework Include Code Sense

I have a program that utilizes Apple's MDQuery system (Spotlight) which is part of the CoreServices framework. A framework is a standard folder structure apple uses for its libraries so that executable code, resources and headers are all in one place. CMake can reference a framework by simply reminding the target_link_libraries that the library has a framework folder structure. target_link_libraries(MyApplication "-framework CoreServices") ...

However, i cannot seem to get code sense to know of the existance of these Structures (CoreServices is C), even with the correct includes... As i said in the short introduction it compiles correctly.

I am wondering, is there something i have to do to make CLion notice these headers? Or is it something worth filing a bug over?


Message was edited by: Glenn Martin, for transposition errors.

1 comment
Comment actions Permalink

Hi Glenn.

It isn't implemented in CLion yet. We have the issue in the tracker: Feel free to comment or upvote.


Please sign in to leave a comment.