-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetenv.sh
29 lines (23 loc) · 1.02 KB
/
setenv.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright (c) 2003-2015 Hans Ewetz (hansewetz at hotmail dot com)
# Distributed under the Boost Software License, Version 1.0.
# setup installation directories for includes and libs
export INSTALL_HOME=/ec/dgt/shared/exodus/local/CppEnv-V1.0/
# set project root
export PROJECT_ROOT=`pwd`
# must include boost stuff
export BOOST_INC=${INSTALL_HOME}/include
export BOOST_LIB=${INSTALL_HOME}/lib
# occi stuff
export OCCI_INC=${INSTALL_HOME}/include/occi
export OCCI_LIB=${INSTALL_HOME}/lib/occi
# set path and ld library path
export PATH=${INSTALL_HOME}/bin:${PATH}:${PROJECT_ROOT}/bin
export LD_LIBRARY_PATH=${INSTALL_HOME}/lib:${INSTALL_HOME}/lib64:${LD_LIBRARY_PATH}:${PROJECT_ROOT}/lib
# a real hack since git(hub) views symbolic links as normal files
cd include
rm -f type-utils occi-tools general-tools boost
ln -s ../src/libs/type-utils/include/ type-utils
ln -s ../src/libs/occi-tools/include/ occi-tools
ln -s ../src/libs/general-tools/include/ general-tools
ln -s ../src/libs/boost-asio-queue-extension/include/ boost
cd ..