Created
February 25, 2020 09:42
-
-
Save sonsongithub/abbf77a814d64c4017e88d2b057d0df4 to your computer and use it in GitHub Desktop.
tasks.json for Visual studio code for llvm development.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "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