20 lines
482 B
Bash
20 lines
482 B
Bash
|
|
#!/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
|
||
|
|
|