source: gs3-extensions/hugin/trunk/src/devel.bash@ 26862

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

Initial cut at Hugin extension.

File size: 870 bytes
Line 
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.