microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.48k stars 453 forks source link

Sanitize cmake.copyCompileCommands #4149

Closed gcampbell-msft closed 2 weeks ago

gcampbell-msft commented 3 weeks ago

Fixes #3874.

Ensures that we're sanitizing the paths so that we accomplish two things:

  1. Parsing the file will work as expected because the file path is sanitized on all platforms
  2. Ensures that we sanitize all paths so that we can safely compare paths.