From 63f34ee151e32cd041437201a6b8fecf8971a928 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Tue, 18 Jul 2017 17:59:37 +0200 Subject: [PATCH] document compilationunits.sh --- qcsrc/tools/compilationunits.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/qcsrc/tools/compilationunits.sh b/qcsrc/tools/compilationunits.sh index d8086704e..a43185b16 100755 --- a/qcsrc/tools/compilationunits.sh +++ b/qcsrc/tools/compilationunits.sh @@ -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 -- 2.39.2