Download this file
15 lines (12 with data), 362 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14 | #!/bin/sh
builddir=__build_iwyu
rm -rf $builddir
mkdir $builddir
cd $builddir
cmake .. \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_CXX_FLAGS="-O2" \
-DRE2C_BUILD_LIBS=yes \
-DCMAKE_CXX_INCLUDE_WHAT_YOU_USE="include-what-you-use;-Xiwyu;--check_also='*.re';-Xiwyu;--check_also='*.y';-Xiwyu;--no_comments" \
&& cmake --build . -j$(nproc) 2>log
cd ..
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.