Last active
September 10, 2020 21:08
-
-
Save aakbar5/268a2072138345893b7f82590dcc3d26 to your computer and use it in GitHub Desktop.
include-what-you-need
This file contains 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
# Ubuntu 18.04.3 LTS | |
# Installation | |
sudo apt-get update | |
sudo apt-get install -y build-essential cmake git zlib1g-dev libncurses5-dev llvm-6.0-dev libclang-6.0-dev libclang-6.0-dev clang-6.0 | |
git clone https://github.com/include-what-you-use/include-what-you-use.git iwyu.git | |
cd iwyu.git | |
git checkout clang_6.0 | |
mkdir -p build | |
cd build | |
cmake -DIWYU_LLVM_ROOT_PATH=/usr/lib/llvm-6.0 .. | |
make | |
make install |
This file contains 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
{ | |
"label": "Run iwyu", | |
"command": "iwyu_tool.py", | |
"args": [ | |
"-p", | |
"${workspaceRoot}/build" | |
], | |
"presentation": { | |
"echo": true, | |
"reveal": "always", | |
"focus": true, | |
"panel": "shared", | |
"showReuseMessage": true, | |
"clear": false | |
}, | |
"problemMatcher": "$gcc" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment