This also involved building a static library for the application for tests to link to. The main application executable also links to it.
		
			
				
	
	
		
			9 lines
		
	
	
		
			279 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			279 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
option('depdatadir',
 | 
						|
       type : 'string',
 | 
						|
       value : '',
 | 
						|
       description : 'System data path. Will be searched for definitions instead of datadir when provided')
 | 
						|
 | 
						|
option('tests',
 | 
						|
       type: 'boolean', value: true,
 | 
						|
       description: 'Whether to compile unit tests')
 |