Last change
on this file since 30820 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 |
|
---|
3 | if [ -d cascade-make ] ; then
|
---|
4 | source cascade-make/lib/cascade-lib.bash GEXT_OPENCV . $*
|
---|
5 | fi
|
---|
6 |
|
---|
7 | if [ -z $GEXT_OPENCV ] ; then
|
---|
8 | source gs3-setup.sh
|
---|
9 | fi
|
---|
10 |
|
---|
11 | if [ -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 |
|
---|
24 | else
|
---|
25 | echo "+Your environment is already setup to compile with the OpenCV Support Library"
|
---|
26 | fi |
---|
Note:
See
TracBrowser
for help on using the repository browser.