mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	And use that to have our Travis build still work with the existing MXE build container as well as the even older, pre-compiled MXE binaries used in the windows build. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			650 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			650 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/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
 | |
| # source directories (subsurface, googlemaps, grantlee, etc)
 | |
| # 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
 | |
| 
 | |
| # right now the container still has an older version of MXE installed
 | |
| export MXEBUILDTYPE=i686-w64-mingw32.shared
 | |
| 
 | |
| bash -ex ../subsurface/packaging/windows/mxe-based-build.sh installer
 | |
| 
 | |
| bash -ex ../subsurface/packaging/windows/smtk2ssrf-mxe-build.sh -a -i
 |