Add .vscode/c_cpp_properties.json
This holds the project include paths and defines, used by the C++ intellisense engine.
Change-Id: Ib87220cd49a38901167283316d4b549717516a0b
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28068
Presubmit-Ready: Ben Clayton <bclayton@google.com>
Tested-by: Ben Clayton <bclayton@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
new file mode 100644
index 0000000..873a5a6
--- /dev/null
+++ b/.vscode/c_cpp_properties.json
@@ -0,0 +1,56 @@
+{
+ "configurations": [
+ {
+ "name": "Linux",
+ "defines": [
+ "REACTOR_LLVM_VERSION=7",
+ "ENABLE_RR_DEBUG_INFO=1"
+ ],
+ "includePath": [
+ "${workspaceFolder}/src",
+ "${workspaceFolder}/include",
+ "${workspaceFolder}/third_party/SPIRV-Headers/include",
+ "${workspaceFolder}/third_party/llvm-7.0/llvm/include",
+ "${workspaceFolder}/third_party/llvm-7.0/configs/common/include",
+ "${workspaceFolder}/third_party/llvm-7.0/configs/linux/include"
+ ],
+ "cStandard": "c11",
+ "cppStandard": "c++11"
+ },
+ {
+ "name": "Mac",
+ "defines": [
+ "REACTOR_LLVM_VERSION=7",
+ "ENABLE_RR_DEBUG_INFO=1"
+ ],
+ "includePath": [
+ "${workspaceFolder}/src",
+ "${workspaceFolder}/include",
+ "${workspaceFolder}/third_party/SPIRV-Headers/include",
+ "${workspaceFolder}/third_party/llvm-7.0/llvm/include",
+ "${workspaceFolder}/third_party/llvm-7.0/configs/common/include",
+ "${workspaceFolder}/third_party/llvm-7.0/configs/darwin/include"
+ ],
+ "cStandard": "c11",
+ "cppStandard": "c++11"
+ },
+ {
+ "name": "Win32",
+ "defines": [
+ "REACTOR_LLVM_VERSION=7",
+ "ENABLE_RR_DEBUG_INFO=1"
+ ],
+ "includePath": [
+ "${workspaceFolder}/src",
+ "${workspaceFolder}/include",
+ "${workspaceFolder}/third_party/SPIRV-Headers/include",
+ "${workspaceFolder}/third_party/llvm-7.0/llvm/include",
+ "${workspaceFolder}/third_party/llvm-7.0/configs/common/include",
+ "${workspaceFolder}/third_party/llvm-7.0/configs/windows/include"
+ ],
+ "cStandard": "c11",
+ "cppStandard": "c++11"
+ }
+ ],
+ "version": 4
+}
\ No newline at end of file