mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
add new helper script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21828 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8fc0bf6030
commit
0c2fa7e599
9
development/tools/list_included_headers.sh
Normal file
9
development/tools/list_included_headers.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
for i in "$@" ; do
|
||||
echo "#include <$i>" > 1.cpp
|
||||
inc='-I. -I/suse/usr/src/lyx/trunk/boost -I/usr/include/qt4/QtCore -I/usr/include/qt4'
|
||||
g++ $inc -DQT_NO_STL -E 1.cpp | grep '^#' | cut -d '"' -f 2 | sort | uniq \
|
||||
| grep -v '^[<#]' | grep -v '^1.cpp$'
|
||||
#printf "%-40s: %d\n" $i $l
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user