So I'm using Visual Studio 2019 with the build-in CMake project type support. In my root CMakeLists.txt file I make use of target_include_directories commands to add search paths for library headers.
This works absolutely fine using standard Visual Studio, with it's own intellisense being able to detect the search paths and find the includes.
However, Resharper C++ seems to be completely unable to figure it out. I get both unknown type errors and errors for not being able to find the include files at the specified paths, and examining the search paths it uses I can see that none of the ones from my CMakeLists.txt file is there.
What's going on with this? Is this a known issue or have I somehow misconfigured something incorrectly? Sort of annoying having to waste time with commercial tooling on such basic functionality that just works out of the box in Visual Studio...
Then again I am a CMake newbie, so perhaps I've done something that VS has just gracefully let me do. Again, this works without problems when using standard VS without Resharper C++ enabled.