|
|
|
@ -556,7 +556,7 @@ fi
|
|
|
|
|
ICU_VER="70_1"
|
|
|
|
|
|
|
|
|
|
OSG_ARCHIVE_NAME="OSGoS 3.6.5"
|
|
|
|
|
OSG_ARCHIVE="OSGoS-3.6.5-b02abe2-msvc${OSG_MSVC_YEAR}-win${BITS}"
|
|
|
|
|
OSG_ARCHIVE="OSGoS-3.6.5-dd803bc-msvc${OSG_MSVC_YEAR}-win${BITS}"
|
|
|
|
|
OSG_ARCHIVE_REPO_URL="https://gitlab.com/OpenMW/openmw-deps/-/raw/main"
|
|
|
|
|
if ! [ -z $OSG_MULTIVIEW_BUILD ]; then
|
|
|
|
|
OSG_ARCHIVE_NAME="OSG-3.6-multiview"
|
|
|
|
@ -830,7 +830,7 @@ printf "${OSG_ARCHIVE_NAME}... "
|
|
|
|
|
grep "OPENSCENEGRAPH_MINOR_VERSION 6" OSG/include/osg/Version > /dev/null && \
|
|
|
|
|
grep "OPENSCENEGRAPH_PATCH_VERSION 5" OSG/include/osg/Version > /dev/null
|
|
|
|
|
then
|
|
|
|
|
printf "Exists. "
|
|
|
|
|
printf "Exists. "
|
|
|
|
|
elif [ -z $SKIP_EXTRACT ]; then
|
|
|
|
|
rm -rf OSG
|
|
|
|
|
eval 7z x -y "${DEPS}/${OSG_ARCHIVE}.7z" $STRIP
|
|
|
|
@ -842,17 +842,27 @@ printf "${OSG_ARCHIVE_NAME}... "
|
|
|
|
|
for CONFIGURATION in ${CONFIGURATIONS[@]}; do
|
|
|
|
|
if [ $CONFIGURATION == "Debug" ]; then
|
|
|
|
|
SUFFIX="d"
|
|
|
|
|
SUFFIX_UPCASE="D"
|
|
|
|
|
else
|
|
|
|
|
SUFFIX=""
|
|
|
|
|
SUFFIX_UPCASE=""
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if ! [ -z $OSG_MULTIVIEW_BUILD ]; then
|
|
|
|
|
add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{ot21-OpenThreads,zlib,libpng16}${SUFFIX}.dll \
|
|
|
|
|
"$(pwd)/OSG/bin/osg162-osg"{,Animation,DB,FX,GA,Particle,Text,Util,Viewer,Shadow}${SUFFIX}.dll
|
|
|
|
|
else
|
|
|
|
|
add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{OpenThreads,icuuc58,libpng16,zlib}${SUFFIX}.dll \
|
|
|
|
|
"$(pwd)/OSG/bin/libxml2"${SUFFIX_UPCASE}.dll \
|
|
|
|
|
"$(pwd)/OSG/bin/osg"{,Animation,DB,FX,GA,Particle,Text,Util,Viewer,Shadow}${SUFFIX}.dll
|
|
|
|
|
add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/icudt58.dll"
|
|
|
|
|
if [ $CONFIGURATION == "Debug" ]; then
|
|
|
|
|
add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{boost_filesystem-vc141-mt-gd-1_63,boost_system-vc141-mt-gd-1_63,collada-dom2.4-dp-vc141-mt-d}.dll
|
|
|
|
|
else
|
|
|
|
|
add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{boost_filesystem-vc141-mt-1_63,boost_system-vc141-mt-1_63,collada-dom2.4-dp-vc141-mt}.dll
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
if ! [ -z $OSG_MULTIVIEW_BUILD ]; then
|
|
|
|
|
add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{ot21-OpenThreads,zlib,libpng16}${SUFFIX}.dll \
|
|
|
|
|
"$(pwd)/OSG/bin/osg162-osg"{,Animation,DB,FX,GA,Particle,Text,Util,Viewer,Shadow}${SUFFIX}.dll
|
|
|
|
|
else
|
|
|
|
|
add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{OpenThreads,zlib,libpng}${SUFFIX}.dll \
|
|
|
|
|
"$(pwd)/OSG/bin/osg"{,Animation,DB,FX,GA,Particle,Text,Util,Viewer,Shadow}${SUFFIX}.dll
|
|
|
|
|
fi
|
|
|
|
|
add_osg_dlls $CONFIGURATION "$(pwd)/OSG/bin/osgPlugins-3.6.5/osgdb_"{bmp,dds,freetype,jpeg,osg,png,tga}${SUFFIX}.dll
|
|
|
|
|
add_osg_dlls $CONFIGURATION "$(pwd)/OSG/bin/osgPlugins-3.6.5/osgdb_"{bmp,dae,dds,freetype,jpeg,osg,png,tga}${SUFFIX}.dll
|
|
|
|
|
add_osg_dlls $CONFIGURATION "$(pwd)/OSG/bin/osgPlugins-3.6.5/osgdb_serializers_osg"{,animation,fx,ga,particle,text,util,viewer,shadow}${SUFFIX}.dll
|
|
|
|
|
done
|
|
|
|
|
echo Done.
|
|
|
|
|