From ce3178450a95d98caef64a9d53f7d5dcdbb3009f Mon Sep 17 00:00:00 2001 From: "re.kovalev" Date: Wed, 4 May 2022 12:32:25 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B1=D0=BE=D1=80=D0=BA=D0=B0=20=D0=B1?= =?UTF-8?q?=D0=B8=D0=B1=D0=BB=D0=B8=D0=BE=D1=82=D0=B5=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/c_cpp_properties.json | 16 +++++++++ .vscode/tasks.json | 67 +++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 .vscode/c_cpp_properties.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..5586293 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,16 @@ +{ + "configurations": [ + { + "name": "some_name", + "includePath": [ + "${workspaceFolder}/include", + "${workspaceFolder}/../dependencies/glm" + ], + "compilerPath": "C:/MinGW/bin/g++.exe", + "cStandard": "c11", + "cppStandard": "c++11", + "intelliSenseMode": "gcc-x86" + } + ], + "version": 4 +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..d547e5b --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,67 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "g++", + "command": "C:/MinGW/bin/g++.exe", + "args": [ + "-c", + "${workspaceRoot}/src/*.cpp", + + "-I${workspaceRoot}/include", + + "--std=c++11", + + "-I${workspaceRoot}/../dependencies/glm", + + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Задача создана отладчиком." + }, + { + "type": "cppbuild", + "label": "ar", + "command": "C:/MinGW/bin/ar.exe", + "args": [ + "rcs", + "${workspaceRoot}/lib${workspaceFolderBasename}.a", + + "${workspaceRoot}/.vscode/*.o" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "Задача создана отладчиком." + }, + { + "label": "Сборка статической библиотеки", + "dependsOn": [ + "g++", + "ar" + ], + "group": { + "kind": "build", + "isDefault": true + } + } + + + ], + "version": "2.0.0" +} \ No newline at end of file