From a28b243352b09dd9868601197bc6d3ee3a770794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Thu, 15 Aug 2024 23:17:31 +0200 Subject: [PATCH] C/C++ INTEGRATION FOR VSCODE --- .vscode/c_cpp_properties.json | 17 +++++++++++++++++ .vscode/settings.json | 5 ++++- _editor.bat | 4 ++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 _editor.bat diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..8ef7745 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,17 @@ +{ + "configurations": [ + { + "name": "Win32", + "includePath": [ + "${workspaceFolder}/**" + ], + "windowsSdkVersion": "10.0.22621.0", + "compilerPath": "cl.exe", + "intelliSenseMode": "windows-msvc-x64", + "defines": [ + "NDEBUG=1" + ] + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index a5aac00..21f5833 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,5 +7,8 @@ "*.gspec": "go", "fsm.h": "c", "v4k": "c" - } + }, + "C_Cpp.default.defines": [ + "_WIN32" + ] } \ No newline at end of file diff --git a/_editor.bat b/_editor.bat new file mode 100644 index 0000000..c2f67d3 --- /dev/null +++ b/_editor.bat @@ -0,0 +1,4 @@ +@echo off +call razzle amd64 +start "" code . +exit \ No newline at end of file