21 lines
		
	
	
		
			577 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			577 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| # vim: set ts=2 sw=2 tw=99 noet ft=python: 
 | |
| import os
 | |
| 
 | |
| compiler = SM.DefaultExtCompiler('extensions/clientprefs')
 | |
| compiler['CXXINCLUDES'].append(os.path.join(SM.mmsPath, 'core', 'sourcehook'))
 | |
| 
 | |
| extension = AMBuild.AddJob('clientprefs.ext')
 | |
| binary = Cpp.LibraryBuilder('clientprefs.ext', AMBuild, extension, compiler)
 | |
| binary.AddSourceFiles('extensions/clientprefs', [
 | |
| 	'extension.cpp',
 | |
| 	'cookie.cpp',
 | |
| 	'menus.cpp',
 | |
| 	'natives.cpp',
 | |
| 	'query.cpp',
 | |
| 	'sdk/smsdk_ext.cpp'
 | |
| 	])
 | |
| SM.AutoVersion('extensions/clientprefs', binary)
 | |
| SM.ExtractDebugInfo(extension, binary)
 | |
| binary.SendToJob()
 | |
| 
 |