Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cmakefileapi-parser warning message about CMake in windows-VSCode

[cmakefileapi-parser] Code model version (2.1) of cmake-file-api is unexpected. Expecting (2.0). IntelliSense configuration may be incorrect.
[cmakefileapi-parser] Code model version (2.1) of cmake-file-api is unexpected. Expecting (2.0). IntelliSense configuration may be incorrect.
[build] Build finished with exit code 0

I'm learning C++ in windows-VSCode. When I use CMake to run a helloworld, it show this. Maybe it has succeed, but I am really mind this [cmakefileapi-parser] message. How can I set it correctly?

like image 901
TabSpace Avatar asked Jun 18 '20 08:06

TabSpace


1 Answers

I had the exact same problem with cmake version 3.18.0-rc1 (release candidate).

I you use the latest stable release of cmake (version 3.17.3) instead, the problem should disappear ;-)

like image 118
Pierre Baret Avatar answered Oct 23 '22 20:10

Pierre Baret