diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2012-07-11 03:52:05 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2012-07-11 03:52:05 (GMT) |
commit | b2c12d23a95ca95cb74b2399625b3f949c98f657 (patch) | |
tree | 6c038ce72608676ef26e1722dbfee95e2aa0eb29 /scripts/setenv-linbuild.sh | |
parent | 38a4585d1a9abe9c779c5d0677bfc81c407db371 (diff) |
features: build CGAL/OpenCSG alone. customize BASEDIR more easily
Diffstat (limited to 'scripts/setenv-linbuild.sh')
-rw-r--r-- | scripts/setenv-linbuild.sh | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/scripts/setenv-linbuild.sh b/scripts/setenv-linbuild.sh index 9719533..e77d969 100644 --- a/scripts/setenv-linbuild.sh +++ b/scripts/setenv-linbuild.sh @@ -1,10 +1,15 @@ -# setup env variables for building OpenSCAD against custom built -# dependency libraries from linux-build-dependencies.sh +# setup environment variables for building OpenSCAD against custom built +# dependency libraries. called by linux-build-dependencies.sh -# run this file with 'source setenv-linbuild.sh' +# run this file with 'source setenv-linbuild.sh' every time you re-login +# and want to build or run openscad against custom libraries installed +# into BASEDIR. -# BASEDIR and DEPLOYDIR must be the same as in linux-build-dependencies.sh -BASEDIR=$HOME/openscad_deps +# copy this file to your .bashrc if desired. + +if [ ! $BASEDIR ]; then + BASEDIR=$HOME/openscad_deps +fi DEPLOYDIR=$BASEDIR export PATH=$BASEDIR/bin:$PATH |