mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Merge pull request #2693 from Ali-Amir/u/ali/optional-meson-unit-tests
Add option to disable building unit tests in Meson build file.
This commit is contained in:
		| @@ -14,4 +14,6 @@ project( | ||||
| ) | ||||
|  | ||||
| subdir('src/catch2') | ||||
| subdir('tests') | ||||
| if get_option('tests') | ||||
|   subdir('tests') | ||||
| endif | ||||
|   | ||||
							
								
								
									
										1
									
								
								meson_options.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								meson_options.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| option('tests', type: 'boolean', value: true, description: 'Build the unit tests') | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský