I would like to copy a .dll into the folder where the project is compiled when I run the building task. I want to put the whole thing in the task.json of the visual studio code but unfortunately I'm quite a beginner and don't know exactly which "shell" command to use and if I can attach it to the building task.
Maybe one of you can help me - thank you! Here is the .json code
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "c++.exe build active file",
"command": "C:\\MinGW\\bin\\g++.exe",
"args": [
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe",
"-static-libgcc",
"-static-libstdc++"
],
"options": {
"cwd": "C:\\MinGW\\bin"
},
"problemMatcher": [
"$gcc"
],
"group": "build"
},
]
}