#! /bin/bash
# Shell script to ease the launch of a Sight application on linux.
#
# This exports the proper LD_LIBRARY_PATH, and append the profile.xml of the application

# Don't modify this file, it is automatically generated by CMake.

me=/usr/bin

# Setup the directories
bindir="$me"
rootdir=/usr
depslibdir="$rootdir/lib"
libdir="$rootdir/lib/i386-linux-gnu/sight"
moduledir="$rootdir/share/sight"

# export LD_LIBRARY_PATH
LD_LIBRARY_PATH=$depslibdir:$libdir:${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

# Use CMAKE Variable of fwlauncher and Profile.xml path
exec "$bindir/fwlauncher.bin-0.1" \""$moduledir/VRRender-0.9/profile.xml"\" $@
