| 
									
										
										
										
											2018-10-06 10:11:15 +02:00
										 |  |  | #!/bin/bash
 | 
					
						
							|  |  |  | # this gets executed inside the container when building a Windows | 
					
						
							|  |  |  | # installer on Travis | 
					
						
							|  |  |  | # | 
					
						
							|  |  |  | # working directory is assumed to be the directory including all the | 
					
						
							| 
									
										
										
										
											2020-10-07 12:46:06 -07:00
										 |  |  | # source directories (subsurface, googlemaps, etc) | 
					
						
							| 
									
										
										
										
											2018-10-06 10:11:15 +02:00
										 |  |  | # in order to be compatible with the assumed layout in the MXE script, we | 
					
						
							|  |  |  | # need to create the secondary build directory | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | set -x | 
					
						
							|  |  |  | set -e | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | mkdir -p win32 | 
					
						
							|  |  |  | cd win32 | 
					
						
							| 
									
										
										
										
											2018-11-14 17:03:08 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | # right now the container still has an older version of MXE installed | 
					
						
							|  |  |  | export MXEBUILDTYPE=i686-w64-mingw32.shared | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-06 10:11:15 +02:00
										 |  |  | bash -ex ../subsurface/packaging/windows/mxe-based-build.sh installer | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-14 21:53:59 +02:00
										 |  |  | bash -ex ../subsurface/packaging/windows/smtk2ssrf-mxe-build.sh -a -i |