Files
pilotclient/scripts
Roland Winklmeier 21bc1f7dbe Set end of live date in Jenkins build
Depending on the branch, we override the end of live date relative in month
from the build time.
develop/ builds expire in 6 month
release/ builds expire in 12 month
all others expire in 3 month.

ref T319
2018-11-04 17:42:43 +01:00
..
2018-06-18 03:04:50 +02:00
2016-05-13 17:02:46 +02:00
2016-05-13 17:02:46 +02:00
2016-05-13 17:02:46 +02:00

1. Create new swift mapping file
cd scripts && ./create_iwyu_mappings.py

2. Add global compiler argument to point iwyu to swift mapping file
QMAKE_CXXFLAGS += "-Xiwyu --mapping_file=/home/roland/projects/vatsim/swift/scripts/swift.imp"

3. Run make with compiler set to iwyu
make -j7 -k CXX=~/Downloads/include-what-you-use/bin/include-what-you-use > iwyu.log 2>&1

4. Fix includes
python ~/Downloads/include-what-you-use/bin/fix_includes.py --nocomments < iwyu.log