vscode-cmake-tools-helper
vscode-cmake-tools-helper copied to clipboard
Empty includes and defines
Cmake 3.8.2 Ubuntu 16.04
c_cpp_properties json looks like
"name": "null",
"includePath": [],
"defines": [],
while .cmaketools.json contains all include paths:
My project consists of main CMakeLists file and includes many other CMakeLists with some other targets.
It even removed system includes: /usr/include/
etc.
Duplicate of https://github.com/maddouri/vscode-cmake-tools-helper/issues/4?
This bug contains bug #4. In my case include paths are absolutely empty, there are no system paths and cmake ones
try to select not the target all
. It depends on your project I think, but for me the all target does not produce anything too...
@gabyx advice works for me, except that it does not find system includes..
I have to execute gcc -v -E -x c++ -
to get those and afterwards put them in manually.
Afterwards it works like a charm :)
This bug affects me too. It doesn't work when I change the target.