Fix for https://github.com/microsoft/vscode-cmake-tools/issues/3541.
File system APIs don't recognize tilda "~" in paths and because of this, when using "~" in binaryDir for example, the extension cannot properly interpret cmake file-api jsons to list targets for build, debug or run.
Replace "~" with user folder.
Fix for https://github.com/microsoft/vscode-cmake-tools/issues/3541. File system APIs don't recognize tilda "~" in paths and because of this, when using "~" in binaryDir for example, the extension cannot properly interpret cmake file-api jsons to list targets for build, debug or run. Replace "~" with user folder.