Add cygwin option for compilation (#1230)

Add Cygwin option for compilation
pull/1261/head
joejoseph08 5 months ago committed by GitHub
parent 059165fbf1
commit 3b34f8028d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -30,6 +30,19 @@
"MIMode": "gdb",
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Launch GDB Cygwin",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/posix_demo",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Launch GDB MSYS2",
"type": "cppdbg",

@ -10,6 +10,14 @@
"MSYSTEM": "MSYS",
"CHERE_INVOKING": "1",
}
},
"Cygwin": {
"path": "C:\\cygwin64\\bin\\bash.exe",
"args": ["--login", "-i"],
"env": {
"MSYSTEM": "Cygwin",
"CHERE_INVOKING": "1",
}
}
},
"terminal.integrated.defaultProfile.windows": "MSYS2",

Loading…
Cancel
Save