mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
By default, uploading of symbols is disabled. It will enabled for specific release builds only. This supersedes copying the symbol tarbal in the jenkins job. ref T69
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