What is a difference between cmake.compileFile and cmake.outline.compileFile ?
The commad cmake.compileFile "Compile File" works fine.
But the "Compile This File" fails with a "Running the contributed command:'cmake.outline.compileFile' failed." message
CentOS 7, vscode 1.27.2, vscode-cmake-tools 1.1.2
cmake.outline.compileFile is an internal command for the compiling a file from the Project Outline view. The fact that it is visible in the Command Palette is a bug.
This issue has been addressed in CMake Tools 1.2.0 which is available in the VS Code Marketplace or on the Releases Page
Because the publisher id has changed, VS Code does not automatically upgrade you yet. The Marketplace team will enable this in the next few days. If you want to install 1.2.0 now, please make sure you uninstall any earlier versions of CMake Tools manually to avoid any conflicts.
Most helpful comment
cmake.outline.compileFileis an internal command for the compiling a file from the Project Outline view. The fact that it is visible in the Command Palette is a bug.