Add SConscript for gtest
This commit is contained in:
		
							parent
							
								
									7e7960ce72
								
							
						
					
					
						commit
						c9c1ba5972
					
				
					 1 changed files with 28 additions and 0 deletions
				
			
		
							
								
								
									
										28
									
								
								lib/gtest/SConscript
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								lib/gtest/SConscript
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,28 @@
 | 
			
		|||
# SConscript
 | 
			
		||||
# vim: set ft=python:
 | 
			
		||||
#
 | 
			
		||||
# Eryn Wells <eryn@erynwells.me>
 | 
			
		||||
 | 
			
		||||
import os.path
 | 
			
		||||
 | 
			
		||||
Import('env')
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
files = [
 | 
			
		||||
    'gtest-all.cc',
 | 
			
		||||
    'gtest-death-test.cc',
 | 
			
		||||
    'gtest-filepath.cc',
 | 
			
		||||
    'gtest-port.cc',
 | 
			
		||||
    'gtest-printers.cc',
 | 
			
		||||
    'gtest-test-part.cc',
 | 
			
		||||
    'gtest-typed-test.cc',
 | 
			
		||||
    'gtest.cc',
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
objs = []
 | 
			
		||||
for f in files:
 | 
			
		||||
    objs.append(env.Object(f))
 | 
			
		||||
 | 
			
		||||
env.Append(CPPPATH=[Dir('include').srcnode()])
 | 
			
		||||
 | 
			
		||||
gtest = env.Library('gtest', objs)
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue