mirror of
https://github.com/nasa/fpp.git
synced 2025-12-11 11:16:42 -06:00
17 lines
338 B
Bash
Executable File
17 lines
338 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd `dirname $0`
|
|
|
|
fprime_gcc=../../../../../scripts/fprime-gcc
|
|
|
|
../harness/generate-cpp
|
|
|
|
for file in `find . -name '*.ref.cpp'`
|
|
do
|
|
base=`basename $file .ref.cpp`
|
|
cp $base.ref.hpp $base.hpp
|
|
cp $base.ref.cpp $base.cpp
|
|
echo "compiling $base.cpp"
|
|
$fprime_gcc -Wno-unused-parameter -I../.. -I../../fprime -c $base.cpp
|
|
done
|