source: gs2-extensions/echoprint/trunk/src/gs3-devel.sh@ 27246

Last change on this file since 27246 was 27246, checked in by davidb, 11 years ago

Initial set of set-up files for this extension

  • Property svn:executable set to *
File size: 870 bytes
RevLine 
[27246]1#!/bin/bash
2
3if [ -d cascade-make ] ; then
4 source cascade-make/lib/cascade-lib.bash GEXT_HUGIN . $*
5fi
6
7if [ -z $GEXT_HUGIN ] ; then
8 source gs3-setup.sh
9fi
10
11if [ -z $GEXTHUGIN_DEVEL ] ; then
12 # Set environment variable so we can tell devel.bash has been sourced
13 export GEXTHUGIN_DEVEL=$GEXT_HUGIN
14
15 export PATH="$GEXTHUGIN_INSTALLED/bin:$PATH"
16 export CFLAGS="-I$GEXTHUGIN_INSTALLED/include $CFLAGS"
17 export CPPFLAGS="-I$GEXTHUGIN_INSTALLED/include $CPPFLAGS"
18 export CXXFLAGS="-I$GEXTHUGIN_INSTALLED/include $CXXFLAGS"
19 export LDFLAGS="-L$GEXTHUGIN_INSTALLED/lib $LDFLAGS"
20 export PKG_CONFIG_PATH="$GEXTHUGIN_INSTALLED/lib/pkgconfig:$PKG_CONFIG_PATH"
21
22 echo "+Your environment is now setup to compile with the Hugin Support Library"
23
24else
25 echo "+Your environment is already setup to compile with the Hugin Support Library"
26fi
Note: See TracBrowser for help on using the repository browser.