Added support for out of tree builds with vscode (#7072)

2 files changed