CPack works closely together with CMake to do the right thing in terms of bundling (called 'package'). This generates all the packaging we need, and some more.
		
			
				
	
	
		
			9 lines
		
	
	
		
			134 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			134 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
ROOT_DIR=$(dirname "$0")/..
 | 
						|
 | 
						|
export DYLD_LIBRARY_PATH=${ROOT_DIR}/Frameworks
 | 
						|
 | 
						|
cd ${ROOT_DIR}/Resources
 | 
						|
exec ./openttd "$@"
 |