2023-10-16 14:19:49 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
# Install symbolic links to the Luprex source and the Luprex DLL.
|
|
|
|
|
#
|
|
|
|
|
# These symbolic links are needed to be able to build integration.
|
|
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
|
2023-10-16 17:19:39 -04:00
|
|
|
if [ -d c:/luprex ] ; then
|
|
|
|
|
LUPREX=c:/luprex
|
|
|
|
|
DLL=$LUPREX/build/visual/luprexlib.dll
|
|
|
|
|
else
|
|
|
|
|
LUPREX=$HOME/luprex
|
|
|
|
|
DLL=$LUPREX/build/linux/luprexlib.so
|
|
|
|
|
fi
|
2023-10-16 14:19:49 -04:00
|
|
|
|
|
|
|
|
rm -f Source/Integration/lpx-*.hpp
|
|
|
|
|
rm -f Source/Integration/lpx-*.cpp
|
|
|
|
|
|
2023-10-18 17:42:20 -04:00
|
|
|
echo '#include "'$LUPREX'/ext/base-buffer.hpp"' > Source/Integration/lpx-basebuffer.hpp
|
2023-10-16 17:19:39 -04:00
|
|
|
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
|
|
|
|
|
echo '#define LUPREX_DLL_PATH "'$DLL'"' > Source/Integration/lpx-paths.hpp
|
|
|
|
|
echo '#define LUPREX_ROOT_PATH "'$LUPREX'"' >> Source/Integration/lpx-paths.hpp
|
2023-10-18 17:42:20 -04:00
|
|
|
|