Add script to link to luprex under linux

This commit is contained in:
Joshua Yelon
2023-10-16 14:19:49 -04:00
parent 311920b79c
commit 6fe5968ebb
2 changed files with 24 additions and 0 deletions

2
.gitignore vendored
View File

@@ -19,6 +19,8 @@ gmon.out
*.pdb *.pdb
*.sln *.sln
*.vcproj *.vcproj
Source/Integration/lpx-*.hpp
Source/Integration/lpx-*.cpp
.vscode/** .vscode/**
Saved/** Saved/**

22
luprex-install.sh Executable file
View File

@@ -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