You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
493 B
Bash
19 lines
493 B
Bash
#! /bin/bash
|
|
|
|
scrap_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
base_dir="${base_dir-$scrap_dir}"
|
|
|
|
flags+=(
|
|
-Xiwyu --mapping_file="$scrap_dir/iwyu.imp"
|
|
-isystem "$scrap_dir/libshit/src" # to get <> libshit includes
|
|
-isystem "$scrap_dir/ext/capnproto/c++/src"
|
|
-isystem "$scrap_dir/ext/tinyxml2"
|
|
-isystem "$scrap_dir/ext/zlib"
|
|
-I"$scrap_dir/build/test"
|
|
-I"$scrap_dir/build/src"
|
|
-I"$scrap_dir/test"
|
|
-I"$scrap_dir/src"
|
|
)
|
|
|
|
. "$scrap_dir/libshit/iwyu.sh"
|