Files
pilotclient/scripts
Mat Sutcliffe d765040c92 Symbol uploads: tag each one with the swift version number
This is to make them easier to recognize and manage in the
Backtrace web app.
2020-09-11 22:20:42 +01:00
..
2020-08-10 12:51:23 +01: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
2020-08-07 00:02:36 +01: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