source: gs3-extensions/openCV/trunk/src/devel.bash@ 29124

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

Initial set of files to source/run

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