Commit f40f6ce7 authored by Johannes Lenzen's avatar Johannes Lenzen

Added iwyu to cmake calls

parent a03ed818
Pipeline #15948 failed with stages
in 46 minutes and 48 seconds
......@@ -10,6 +10,8 @@
/build_dbg
/build_rel
/build
/cmake-build-debug
/.idea
# QtCreator specific annoying files
......
......@@ -43,7 +43,7 @@ if [ ! -d $BUILDPATH ]; then
fi
cd $BUILDPATH
cmake -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON $OPTIONS ../
cmake -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON -DCMAKE_CXX_INCLUDE_WHAT_YOU_USE="iwyu" $OPTIONS ../
#build it
make $MAKE_OPTIONS
......
......@@ -76,7 +76,7 @@ then
fi
# Run cmake to make sure the tests are configured correctly for this system
cmake -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON $OPTIONS ../
cmake -DOPENFLIPPER_BUILD_UNIT_TESTS=TRUE -DSTL_VECTOR_CHECKS=ON -DCMAKE_CXX_INCLUDE_WHAT_YOU_USE="iwyu" $OPTIONS ../
#tell the location to the libs from build jobs
export LD_LIBRARY_PATH=$(pwd)/Build/lib:$LD_LIBRARY_PATH
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment