root/gs2-extensions/echoprint/trunk/src/gs3-devel.sh @ 27267

Revision 27267, 0.9 KB (checked in by davidb, 6 years ago)

Edits after testing

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