]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
document compilationunits.sh
authorMartin Taibr <taibr.martin@gmail.com>
Tue, 18 Jul 2017 15:59:37 +0000 (17:59 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Tue, 18 Jul 2017 15:59:37 +0000 (17:59 +0200)
qcsrc/tools/compilationunits.sh

index d8086704e1193b7799de8b34a774aac24a2f7904..a43185b16c952c8e9247ceb68749353c4bd981d8 100755 (executable)
@@ -2,9 +2,13 @@
 set -eu
 cd ${0%/*}
 
-# if these files exist from previous compilation, `./all compile` will stop
+# This script attempts to build the codebase in every possible header configuration,
+# to check that all files #include what they need, so that we can eventually move away
+# from a unity build and into incremental compilation.
+
+# If these files exist from previous compilation, `./all compile` will stop
 # detecting changes after running this script so delete them to trigger
-# a recompile next time
+# a recompile next time.
 if [ -f ../../csprogs.dat ]; then
     rm ../../csprogs.dat
 fi