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