... | ... | @@ -57,14 +57,7 @@ The VsCode has a built-in solution to manage project-related shell scripts. They |
|
|
{
|
|
|
"label": "make",
|
|
|
"type": "shell",
|
|
|
"command": "command": "make -j10 -e CXXFLAGS=\"-g -O0\" && find ~+ -type d -name .libs | tr '\n' ':' | awk '{print \"LD_LIBRARY_PATH=\"$0}'> ${workspaceFolder}/.vscode/.env",
|
|
|
"dependsOn": "create envfile"
|
|
|
},
|
|
|
{
|
|
|
"label": "create envfile",
|
|
|
"type": "shell",
|
|
|
"detail": "The vscode omits the libtool wrapper. It's a workaround for this problem. It creates the envvar file all necessary environment variables.",
|
|
|
"command": "find ~+ -type d -name .libs | tr '\n' ':' | awk '{print \"LD_LIBRARY_PATH=\"$0}'> ${workspaceFolder}/.vscode/.env"
|
|
|
"command": "command": "make -j10 -e CXXFLAGS=\"-g -O0\" && find ~+ -type d -name .libs | tr '\n' ':' | awk '{print \"LD_LIBRARY_PATH=\"$0}'> ${workspaceFolder}/.vscode/.env"
|
|
|
}
|
|
|
]
|
|
|
}
|
... | ... | |