Files
spark/tools/get_system_includes.sh
T
2020-06-25 16:49:10 -04:00

13 lines
319 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROOT=$DIR/..
cd $ROOT
# stdlib includes
find /usr/include/c++/7 -type f -maxdepth 1 | sed s/\\/usr\\/include\\/c\+\+\\/7\\///
# external includes
find externals/linux/include/ -name "*.h" -or -name "*.hpp" | sed s/externals\\/linux\\/include\\///