Skip to content

Commit

Permalink
Fix #5, Compile project fails on Windows
Browse files Browse the repository at this point in the history
Signed-off-by: paulober <[email protected]>
  • Loading branch information
paulober committed Mar 31, 2024
1 parent 976521e commit 21a1709
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/pico_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -910,15 +910,19 @@ def generateProjectFiles(projectPath, projectName, sdkPath, projects, debugger,
"tasks": [
{{
"label": "Compile Project",
"type": "shell",
"type": "process",
"isBuildCommand": true,
"command": "{ninjaPath.replace(user_home, "${userHome}") if use_home_var else ninjaPath}",
"args": ["-C", "${{workspaceFolder}}/build"],
"group": "build",
"presentation": {{
"reveal": "always",
"panel": "dedicated"
}},
"problemMatcher": "$gcc"
"problemMatcher": "$gcc",
"windows": {{
"command": "{ninjaPath.replace(user_home, "${env:USERPROFILE}") if use_home_var else ninjaPath}"
}}
}}
]
}}
Expand Down

0 comments on commit 21a1709

Please sign in to comment.