Modify luprex-install.sh for windows
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -1,5 +1,6 @@
|
|||||||
* text=auto
|
* text=auto
|
||||||
*.bat text eol=crlf
|
*.bat text eol=crlf
|
||||||
|
*.sh text eol=lf
|
||||||
*.lib filter=lfs diff=lfs merge=lfs -text
|
*.lib filter=lfs diff=lfs merge=lfs -text
|
||||||
*.exe filter=lfs diff=lfs merge=lfs -text
|
*.exe filter=lfs diff=lfs merge=lfs -text
|
||||||
*.a filter=lfs diff=lfs merge=lfs -text
|
*.a filter=lfs diff=lfs merge=lfs -text
|
||||||
|
|||||||
@@ -7,7 +7,13 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if [ -d c:/luprex ] ; then
|
||||||
|
LUPREX=c:/luprex
|
||||||
|
DLL=$LUPREX/build/visual/luprexlib.dll
|
||||||
|
else
|
||||||
LUPREX=$HOME/luprex
|
LUPREX=$HOME/luprex
|
||||||
|
DLL=$LUPREX/build/linux/luprexlib.so
|
||||||
|
fi
|
||||||
|
|
||||||
rm -f Source/Integration/lpx-*.hpp
|
rm -f Source/Integration/lpx-*.hpp
|
||||||
rm -f Source/Integration/lpx-*.cpp
|
rm -f Source/Integration/lpx-*.cpp
|
||||||
@@ -16,5 +22,5 @@ echo '#include "'$LUPREX'/ext/base-writer.hpp"' > Source/In
|
|||||||
echo '#include "'$LUPREX'/cpp/drv/drvutil.hpp"' > Source/Integration/lpx-drvutil.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/drv/drvutil.cpp"' > Source/Integration/lpx-drvutil.cpp
|
||||||
echo '#include "'$LUPREX'/cpp/core/enginewrapper.hpp"' > Source/Integration/lpx-enginewrapper.hpp
|
echo '#include "'$LUPREX'/cpp/core/enginewrapper.hpp"' > Source/Integration/lpx-enginewrapper.hpp
|
||||||
echo '#define LUPREX_DLL_PATH "'$LUPREX'/build/linux/luprexlib.so"' > Source/Integration/lpx-paths.hpp
|
echo '#define LUPREX_DLL_PATH "'$DLL'"' > Source/Integration/lpx-paths.hpp
|
||||||
echo '#define LUPREX_ROOT_PATH "'$LUPREX'"' >> Source/Integration/lpx-paths.hpp
|
echo '#define LUPREX_ROOT_PATH "'$LUPREX'"' >> Source/Integration/lpx-paths.hpp
|
||||||
|
|||||||
Reference in New Issue
Block a user