Skip to content

Instantly share code, notes, and snippets.

@ensup
Created November 15, 2021 07:44
Show Gist options
  • Save ensup/4c3e51858c85123eb54bc6443b020317 to your computer and use it in GitHub Desktop.
Save ensup/4c3e51858c85123eb54bc6443b020317 to your computer and use it in GitHub Desktop.
clang + w64 mingw in vscode(windows)
{
"version": "2.0.0",
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: clang.exe 활성 파일 빌드",
"command": "C:\\Program Files\\LLVM\\bin\\clang.exe",
"args": [
"--target=x86_64-w64-windows-gnu",
"-fdiagnostics-color=always",
"-g",
"${file}",
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "${fileDirname}"
},
"problemMatcher": [
"$gcc"
],
"group": "build",
"detail": "컴파일러: \"C:\\Program Files\\LLVM\\bin\\clang.exe\""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment