Skip to content

Instantly share code, notes, and snippets.

@sonsongithub
Created February 25, 2020 09:42
Show Gist options
  • Select an option

  • Save sonsongithub/abbf77a814d64c4017e88d2b057d0df4 to your computer and use it in GitHub Desktop.

Select an option

Save sonsongithub/abbf77a814d64c4017e88d2b057d0df4 to your computer and use it in GitHub Desktop.
tasks.json for Visual studio code for llvm development.
{
"tasks": [
{
"type": "shell",
"label": "clang++ build active file",
"command": "/usr/bin/clang++",
"args": [
"-g",
"-O0",
"${fileDirname}/${fileBasename}",
"-o",
"${fileDirname}/${fileBasenameNoExtension}",
"`/usr/local/opt/llvm/bin/llvm-config", "--cxxflags`",
"-std=c++14"
"`/usr/local/opt/llvm/bin/llvm-config", "--ldflags", "--libs", "--libfiles", "core","orcjit","mcjit", "native", "--system-libs`"
]
}
],
"version": "2.0.0"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment