We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to "mkdir build" before "cmake" So I design 2 tasks in Global task.json Here are my tasks
> { > "label": "CMake/Make (MinGW)", > "type": "shell", > "group": "build", > "command": [ > "cmake -G \"MinGW Makefiles\" -S . -B build", > "&&", > "mingw32-make -j8 -C build" > ], > "dependsOn":["mkdir build"], > "problemMatcher": "$gcc", > }, > { > "label": "mkdir build", > "type": "shell", > "group": "build", > "command": "mkdir build", > },
However, when I run the "CMake/Make (MinGW)", TERMINAL panel shows that
> The terminal shell CWD "d:\HW_VSC\VSC-CMAKE-MINGW64\Seperate_CMakLists_TEST\build" does not exist
So I check the OUTPUT panel. it shows that
> Couldn't` resolve dependent task 'mkdir build' in workspace folder
To chek whether my code is wrong, I copy the code to the Local tasks.json in .\\.vscode I run it, and it works!!!
tasks.json
.\\.vscode
Besides, I found that Global task can "dependsOn" Local task, But it cannot "dependsOn" Global task
"dependsOn"
The text was updated successfully, but these errors were encountered:
(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
Sorry, something went wrong.
af1310a
alexr00
No branches or pull requests
I want to "mkdir build" before "cmake"
So I design 2 tasks in Global task.json
Here are my tasks
However, when I run the "CMake/Make (MinGW)", TERMINAL panel shows that
So I check the OUTPUT panel. it shows that
To chek whether my code is wrong,
I copy the code to the Local
tasks.json
in.\\.vscode
I run it, and it works!!!
Besides, I found that Global task can
"dependsOn"
Local task,But it cannot
"dependsOn"
Global taskThe text was updated successfully, but these errors were encountered: