22 lines
669 B
Bash
Executable File
22 lines
669 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
# LinuxCNC source basis: the RS274 API source list combines CMake-listed core
|
|
# bridge sources with linuxcnc_rs274_backend.cpp, which drives LinuxCNC
|
|
# rs274ngc_pre.cc through the thin public C API.
|
|
filter=${1:-}
|
|
source_list=$(mktemp)
|
|
trap 'rm -f "$source_list"' EXIT
|
|
|
|
{
|
|
./list-cmake-set-sources.sh cnc_sim_core_sources core/
|
|
./list-cmake-set-sources.sh cnc_sim_linuxcnc_rs274_backend_sources core/
|
|
} > "$source_list"
|
|
|
|
./list-filtered-existing-paths.sh \
|
|
"$filter" \
|
|
"missing LinuxCNC rs274 API project source" \
|
|
"missing LinuxCNC rs274 API project source in CMake list" < "$source_list"
|