From 6fe5968ebb0792651435eab829d067f22bb878fe Mon Sep 17 00:00:00 2001 From: Joshua Yelon Date: Mon, 16 Oct 2023 14:19:49 -0400 Subject: [PATCH] Add script to link to luprex under linux --- .gitignore | 2 ++ luprex-install.sh | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100755 luprex-install.sh diff --git a/.gitignore b/.gitignore index 44540061..b7d34254 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,8 @@ gmon.out *.pdb *.sln *.vcproj +Source/Integration/lpx-*.hpp +Source/Integration/lpx-*.cpp .vscode/** Saved/** diff --git a/luprex-install.sh b/luprex-install.sh new file mode 100755 index 00000000..c02912d7 --- /dev/null +++ b/luprex-install.sh @@ -0,0 +1,22 @@ +#!/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 + +ln -s $LUPREX/ext/base-writer.hpp Source/Integration/lpx-basewriter.hpp +ln -s $LUPREX/cpp/drv/drvutil.hpp Source/Integration/lpx-drvutil.hpp +ln -s $LUPREX/cpp/drv/drvutil.cpp Source/Integration/lpx-drvutil.cpp +ln -s $LUPREX/cpp/core/enginewrapper.hpp Source/Integration/lpx-enginewrapper.hpp +ln -s $LUPREX/build/linux/luprexlib.so Binaries/Linux/luprexlib.so +