Debian Codegraph @

linux-setup.sh

raw symbols SCIP
1 #! /bin/sh
2 #
3 # When you run "make test" CMake obviously runs the correct binraries
4 # from the build directory. But when you want to run a test manually
5 # PATH and LD_LIBRARY_PATH need to be set, and it is tedious and error
6 # prone to remember that all the time.
7 #
8 # The follwing sets up the current shell in the same way, so that a
9 # developer can just source this script and then forget about it.
10 #
11
12 # Ensure that the script is sourced:
13 if [[ $_ == $0 ]]; then
14 echo "You should really source this, like in '. cygwin-setup.sh'"
15 fi
16
17 # And here's the meat given that you have the standard build tree
18 export PATH="$PWD/build/tools":$PATH
19 export LD_LIBRARY_PATH="$PWD/build/src":$PATH