Files
wasm-simulator/list-linuxcnc-wasm-safe-project-sources.sh

20 lines
674 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
# LinuxCNC source basis: wasm-safe project probe sources are the thin bridge
# and adapter sources listed in core/CMakeLists.txt, including the
# LinuxCNC-backed RS274 bridge that wraps rs274ngc_pre.cc, canon.hh, and
# tooldata.hh behavior without adding independent G-code semantics.
filter=${1:-}
{
./list-cmake-set-sources.sh cnc_sim_core_sources core/
./list-cmake-set-sources.sh cnc_sim_linuxcnc_rs274_backend_sources core/
} | ./list-filtered-existing-paths.sh \
--project-relative \
"$filter" \
"missing wasm-safe project source" \
"missing wasm-safe project source in CMake list"