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", "MIMode": "gdb",
"preLaunchTask": "${defaultBuildTask}" "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", "name": "Launch GDB MSYS2",
"type": "cppdbg", "type": "cppdbg",

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

Loading…
Cancel
Save