Files
wx_wherigo/libs/wxWidgets-3.3.1/misc/scripts/check_allheaders.sh
2026-02-14 09:47:24 +01:00

16 lines
284 B
Bash
Executable File

#!/bin/bash
cd $(dirname "$0")/../..
rc=0
for h in include/wx/*.h ; do
header=wx/$(basename "$h")
if ! grep -q "$header" tests/allheaders.h ; then
echo "ERROR - <$header> not present in tests/allheaders.h"
rc=$((rc+1))
fi
done
exit $rc