Files
MARTe-Integrated-Components/env.sh
Martino Ferrari 617b5bd712 Initial release
2026-05-29 13:29:59 +02:00

19 lines
1.1 KiB
Bash

#!/usr/bin/env bash
# Environment setup for MARTe2 Integrated Components
# Adjust MARTe2_DIR to point at your MARTe2 installation.
# If using the bundled dependency, uncomment:
export MARTe2_DIR=${HOME}/workspace/MARTe2
export MARTe2_Components_DIR=${HOME}/workspace/MARTe2-components
export TARGET=x86-linux
export LD_LIBRARY_PATH=${MARTe2_DIR}/Build/${TARGET}/Core:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=${MARTe2_Components_DIR}/Build/${TARGET}/Components/DataSources/LinuxTimer:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=${MARTe2_Components_DIR}/Build/${TARGET}/Components/DataSources/FileDataSource:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=$(dirname "$0")/Build/${TARGET}/Components/DataSources/UDPStreamer:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=$(dirname "$0")/Build/${TARGET}/Components/GAMs/SineArrayGAM:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=$(dirname "$0")/Build/${TARGET}/Components/GAMs/TimeArrayGAM:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=$(dirname "$0")/Build/${TARGET}/Components/Interfaces/DebugService:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH=$(dirname "$0")/Build/${TARGET}/Components/Interfaces/TCPLogger:${LD_LIBRARY_PATH}