Add CMakeSettings.json with convenient defaults

This is used by Visual Studio's CMake integration. I've added configs
for targeting x64 and x86, Debug and Release, as well as the Clang
(clang-cl) variants. Choosing a Clang variant will prompt the user to
install Visual Studio's clang-cl support via the installer.

Change-Id: I6cc33ea8a3c5dced8df476d72629fdec5044663b
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44883
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Auto-Submit: Antonio Maiorano <amaiorano@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
diff --git a/CMakeSettings.json b/CMakeSettings.json
new file mode 100644
index 0000000..ee3ee56
--- /dev/null
+++ b/CMakeSettings.json
@@ -0,0 +1,100 @@
+{

+  "configurations": [

+    {

+      "name": "x64-Debug",

+      "generator": "Ninja",

+      "configurationType": "Debug",

+      "inheritEnvironments": [ "msvc_x64_x64" ],

+      "buildRoot": "${projectDir}\\out\\build\\${name}",

+      "installRoot": "${projectDir}\\out\\install\\${name}",

+      "cmakeCommandArgs": "",

+      "buildCommandArgs": "",

+      "ctestCommandArgs": "",

+      "variables": []

+    },

+    {

+      "name": "x64-Release",

+      "generator": "Ninja",

+      "configurationType": "RelWithDebInfo",

+      "buildRoot": "${projectDir}\\out\\build\\${name}",

+      "installRoot": "${projectDir}\\out\\install\\${name}",

+      "cmakeCommandArgs": "",

+      "buildCommandArgs": "",

+      "ctestCommandArgs": "",

+      "inheritEnvironments": [ "msvc_x64_x64" ],

+      "variables": []

+    },

+    {

+      "name": "x86-Debug",

+      "generator": "Ninja",

+      "configurationType": "Debug",

+      "buildRoot": "${projectDir}\\out\\build\\${name}",

+      "installRoot": "${projectDir}\\out\\install\\${name}",

+      "cmakeCommandArgs": "",

+      "buildCommandArgs": "",

+      "ctestCommandArgs": "",

+      "inheritEnvironments": [ "msvc_x86" ],

+      "variables": []

+    },

+    {

+      "name": "x86-Release",

+      "generator": "Ninja",

+      "configurationType": "RelWithDebInfo",

+      "buildRoot": "${projectDir}\\out\\build\\${name}",

+      "installRoot": "${projectDir}\\out\\install\\${name}",

+      "cmakeCommandArgs": "",

+      "buildCommandArgs": "",

+      "ctestCommandArgs": "",

+      "inheritEnvironments": [ "msvc_x86" ],

+      "variables": []

+    },

+    {

+      "name": "x64-Clang-Debug",

+      "generator": "Ninja",

+      "configurationType": "Debug",

+      "buildRoot": "${projectDir}\\out\\build\\${name}",

+      "installRoot": "${projectDir}\\out\\install\\${name}",

+      "cmakeCommandArgs": "",

+      "buildCommandArgs": "",

+      "ctestCommandArgs": "",

+      "inheritEnvironments": [ "clang_cl_x64_x64" ],

+      "variables": []

+    },

+    {

+      "name": "x64-Clang-Release",

+      "generator": "Ninja",

+      "configurationType": "RelWithDebInfo",

+      "buildRoot": "${projectDir}\\out\\build\\${name}",

+      "installRoot": "${projectDir}\\out\\install\\${name}",

+      "cmakeCommandArgs": "",

+      "buildCommandArgs": "",

+      "ctestCommandArgs": "",

+      "inheritEnvironments": [ "clang_cl_x64_x64" ],

+      "variables": []

+    },

+    {

+      "name": "x86-Clang-Debug",

+      "generator": "Ninja",

+      "configurationType": "Debug",

+      "buildRoot": "${projectDir}\\out\\build\\${name}",

+      "installRoot": "${projectDir}\\out\\install\\${name}",

+      "cmakeCommandArgs": "",

+      "buildCommandArgs": "",

+      "ctestCommandArgs": "",

+      "inheritEnvironments": [ "clang_cl_x86" ],

+      "variables": []

+    },

+    {

+      "name": "x86-Clang-Release",

+      "generator": "Ninja",

+      "configurationType": "RelWithDebInfo",

+      "buildRoot": "${projectDir}\\out\\build\\${name}",

+      "installRoot": "${projectDir}\\out\\install\\${name}",

+      "cmakeCommandArgs": "",

+      "buildCommandArgs": "",

+      "ctestCommandArgs": "",

+      "inheritEnvironments": [ "clang_cl_x86" ],

+      "variables": []

+    }

+  ]

+}
\ No newline at end of file