mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-30 02:56:44 +00:00 
			
		
		
		
	Merge branch 'cherry-pick-cc27baec' into 'master'
Merge branch 'update-windows-deps' into 'master' See merge request OpenMW/openmw!2283
This commit is contained in:
		
						commit
						40471666c1
					
				
					 2 changed files with 22 additions and 12 deletions
				
			
		|  | @ -440,7 +440,7 @@ macOS12_Xcode13: | ||||||
|   after_script: |   after_script: | ||||||
|     - Copy-Item C:\ProgramData\chocolatey\logs\chocolatey.log |     - Copy-Item C:\ProgramData\chocolatey\logs\chocolatey.log | ||||||
|   cache: |   cache: | ||||||
|     key: ninja-v3 |     key: ninja-v4 | ||||||
|     paths: |     paths: | ||||||
|     - ccache |     - ccache | ||||||
|     - deps |     - deps | ||||||
|  | @ -541,7 +541,7 @@ macOS12_Xcode13: | ||||||
|   after_script: |   after_script: | ||||||
|     - Copy-Item C:\ProgramData\chocolatey\logs\chocolatey.log |     - Copy-Item C:\ProgramData\chocolatey\logs\chocolatey.log | ||||||
|   cache: |   cache: | ||||||
|     key: msbuild-v3 |     key: msbuild-v4 | ||||||
|     paths: |     paths: | ||||||
|     - ccache |     - ccache | ||||||
|     - deps |     - deps | ||||||
|  |  | ||||||
|  | @ -556,7 +556,7 @@ fi | ||||||
| ICU_VER="70_1" | ICU_VER="70_1" | ||||||
| 
 | 
 | ||||||
| OSG_ARCHIVE_NAME="OSGoS 3.6.5" | 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" | OSG_ARCHIVE_REPO_URL="https://gitlab.com/OpenMW/openmw-deps/-/raw/main" | ||||||
| if ! [ -z $OSG_MULTIVIEW_BUILD ]; then | if ! [ -z $OSG_MULTIVIEW_BUILD ]; then | ||||||
|     OSG_ARCHIVE_NAME="OSG-3.6-multiview" |     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_MINOR_VERSION    6" OSG/include/osg/Version > /dev/null && \ | ||||||
| 		grep "OPENSCENEGRAPH_PATCH_VERSION    5" OSG/include/osg/Version > /dev/null | 		grep "OPENSCENEGRAPH_PATCH_VERSION    5" OSG/include/osg/Version > /dev/null | ||||||
| 	then | 	then | ||||||
| 		printf "Exists. " | 	printf "Exists. " | ||||||
| 	elif [ -z $SKIP_EXTRACT ]; then | 	elif [ -z $SKIP_EXTRACT ]; then | ||||||
| 		rm -rf OSG | 		rm -rf OSG | ||||||
| 		eval 7z x -y "${DEPS}/${OSG_ARCHIVE}.7z" $STRIP | 		eval 7z x -y "${DEPS}/${OSG_ARCHIVE}.7z" $STRIP | ||||||
|  | @ -842,17 +842,27 @@ printf "${OSG_ARCHIVE_NAME}... " | ||||||
| 	for CONFIGURATION in ${CONFIGURATIONS[@]}; do | 	for CONFIGURATION in ${CONFIGURATIONS[@]}; do | ||||||
| 		if [ $CONFIGURATION == "Debug" ]; then | 		if [ $CONFIGURATION == "Debug" ]; then | ||||||
| 			SUFFIX="d" | 			SUFFIX="d" | ||||||
|  | 			SUFFIX_UPCASE="D" | ||||||
| 		else | 		else | ||||||
| 			SUFFIX="" | 			SUFFIX="" | ||||||
|  | 			SUFFIX_UPCASE="" | ||||||
| 		fi | 		fi | ||||||
|         if ! [ -z $OSG_MULTIVIEW_BUILD ]; then | 
 | ||||||
|             add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{ot21-OpenThreads,zlib,libpng16}${SUFFIX}.dll \ | 		if ! [ -z $OSG_MULTIVIEW_BUILD ]; then | ||||||
|                 "$(pwd)/OSG/bin/osg162-osg"{,Animation,DB,FX,GA,Particle,Text,Util,Viewer,Shadow}${SUFFIX}.dll | 			add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{ot21-OpenThreads,zlib,libpng16}${SUFFIX}.dll \ | ||||||
|         else | 				"$(pwd)/OSG/bin/osg162-osg"{,Animation,DB,FX,GA,Particle,Text,Util,Viewer,Shadow}${SUFFIX}.dll | ||||||
|             add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{OpenThreads,zlib,libpng}${SUFFIX}.dll \ | 		else | ||||||
|                 "$(pwd)/OSG/bin/osg"{,Animation,DB,FX,GA,Particle,Text,Util,Viewer,Shadow}${SUFFIX}.dll | 			add_runtime_dlls $CONFIGURATION "$(pwd)/OSG/bin/"{OpenThreads,icuuc58,libpng16,zlib}${SUFFIX}.dll \ | ||||||
|         fi | 				"$(pwd)/OSG/bin/libxml2"${SUFFIX_UPCASE}.dll \ | ||||||
| 		add_osg_dlls $CONFIGURATION "$(pwd)/OSG/bin/osgPlugins-3.6.5/osgdb_"{bmp,dds,freetype,jpeg,osg,png,tga}${SUFFIX}.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 | ||||||
|  | 		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 | 		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 | 	done | ||||||
| 	echo Done. | 	echo Done. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue