Tools: scripts: Suggest exporting JSBSim path after building

Tools: scripts: Remove debug output in build-jsbsim.sh

Tools: scripts: Restore debug output in build-jsbsim.sh
This commit is contained in:
Rajat Singhal 2019-04-21 00:47:06 +05:30 committed by Peter Barker
parent 43274f5d1b
commit a963a0d245

View File

@ -20,4 +20,10 @@ else
cmake -DCMAKE_CXX_FLAGS_RELEASE="-O3 -march=native -mtune=native" -DCMAKE_C_FLAGS_RELEASE="-O3 -march=native -mtune=native" -DCMAKE_BUILD_TYPE=Release ..
make -j2
fi
if [[ ! -n $(echo $PATH | grep jsbsim) ]]; then
echo "Add the JSBSim executable to your PATH using - export PATH=\$PATH:~/jsbsim/build/src"
echo "Add the above command to ~/.bashrc to automatically set the path everytime a new terminal is launched"
fi
echo "---------- $0 end ----------"