Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (18 sloc) 486 Bytes
#!/usr/bin/env sh
PREFER_32=@rIDL_PREFER_32@
OS=`uname -s | tr [A-Z] [a-z] | tr '[A-Z]' '[a-z]'`
for arg
do
if [ "$arg" = "-32" ]; then
PREFER_32=1
fi
done
export IDL_DIR=@IDL_ROOT_DIR@
export RIDL_DIR=@CMAKE_INSTALL_PREFIX@
if [ $PREFER_32 = 1 ]; then
export @rIDL_LIBRARY_PATH@=@IDL_LIBRARY_PATH@:$@rIDL_LIBRARY_PATH@
@CMAKE_INSTALL_PREFIX@/bin/ridl $@
else
export @rIDL_LIBRARY_PATH@=@IDL_LIBRARY_PATH@:$@rIDL_LIBRARY_PATH@
@CMAKE_INSTALL_PREFIX@/bin/ridl $@
fi