1#!/bin/bash
2
3if [ -z "${MESON_SOURCE_ROOT}" ]; then
4  echo "[ERROR] This script can only be ran with meson!"
5  exit 1
6fi
7
8cd "${MESON_SOURCE_ROOT}"
9
10files=$(find extras/python -type f | grep "\(.*\.h\)\|\(.*\.cpp\)\|\(.*\.cxx\)")
11files+=" "
12files+=$(find extras/java -type f | grep "\(.*\.h\)\|\(.*\.cpp\)\|\(.*\.cxx\)")
13for file in $files; do
14  echo -n "$(realpath $file) "
15done