Files
integration/rebuild-config.sh

20 lines
482 B
Bash
Raw Normal View History

#!/bin/sh
#
# Fix the file 'lpx-paths.hpp', which contains the paths for the luprex
# DLL and the luprex root path.
#
if [ -d c:/luprex ] ; then
LUPREX=c:/integration/luprex
DLL=$LUPREX/build/visual/luprexlib.dll
else
LUPREX=$HOME/integration/luprex
DLL=$LUPREX/build/linux/luprexlib.so
fi
echo '#define LUPREX_DLL_PATH "'$DLL'"' > Source/Integration/lpx-paths.hpp
echo '#define LUPREX_ROOT_PATH "'$LUPREX'"' >> Source/Integration/lpx-paths.hpp