12 lines
550 B
Bash
12 lines
550 B
Bash
#!/bin/bash
|
|
# Get the directory of this script
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
|
|
|
export MARTe2_DIR=$DIR/dependency/MARTe2
|
|
export MARTe2_Components_DIR=$DIR/dependency/MARTe2-components
|
|
export TARGET=x86-linux
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MARTe2_DIR/Build/$TARGET/Core
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MARTe2_Components_DIR/Build/$TARGET/Components
|
|
echo "MARTe2 Environment Set (MARTe2_DIR=$MARTe2_DIR)"
|
|
echo "MARTe2 Components Environment Set (MARTe2_Components_DIR=$MARTe2_Components_DIR)"
|