Files
integration/luprex-install.sh

24 lines
767 B
Bash
Raw Normal View History

#!/bin/sh
#
#
# Install symbolic links to the Luprex source and the Luprex DLL.
#
# These symbolic links are needed to be able to build integration.
#
#
LUPREX=$HOME/luprex
rm -f Source/Integration/lpx-*.hpp
rm -f Source/Integration/lpx-*.cpp
rm -f Binaries/Linux/luprexlib.so
mkdir -p Binaries/Linux
2023-10-16 15:08:11 -04:00
echo '#include "'$LUPREX'/ext/base-writer.hpp"' > Source/Integration/lpx-basewriter.hpp
echo '#include "'$LUPREX'/cpp/drv/drvutil.hpp"' > Source/Integration/lpx-drvutil.hpp
echo '#include "'$LUPREX'/cpp/drv/drvutil.cpp"' > Source/Integration/lpx-drvutil.cpp
echo '#include "'$LUPREX'/cpp/core/enginewrapper.hpp"' > Source/Integration/lpx-enginewrapper.hpp
ln -s $LUPREX/build/linux/luprexlib.so Binaries/Linux/luprexlib.so