Files
pilotclient/scripts
Lars Toenning 14c045e7b4 refactor: Remove CUrlList
Nowadays most of the loadbalancing is done on the server-side and hence
there is only a single datafile URL (and other URLs) inside the
boostrap.json.
The features of the CUrlList are hence not really used. This is also a
step into removing CUrl and using QUrl instead, to avoid maintaining a
separate URL class.
2024-02-09 16:32:45 +01:00
..
2024-03-09 22:44:52 +01:00
2016-05-13 17:02:46 +02:00
2024-02-09 16:32:45 +01:00

# SPDX-FileCopyrightText: Copyright (C) swift Project Community / Contributors
# SPDX-License-Identifier: CC0-1.0

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