Merge pull request #628 from fjunqueira/patch-1
Adding CMakeLists.txt to the root dir
This commit is contained in:
		
						commit
						0f8d3aeeae
					
				
							
								
								
									
										16
									
								
								CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								CMakeLists.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,16 @@
 | 
			
		||||
cmake_minimum_required(VERSION 2.6.2)
 | 
			
		||||
 | 
			
		||||
project( googletest-distribution )
 | 
			
		||||
 | 
			
		||||
enable_testing()
 | 
			
		||||
 | 
			
		||||
option(BUILD_GTEST "Builds the googletest subproject" OFF)
 | 
			
		||||
 | 
			
		||||
#Note that googlemock target already builds googletest
 | 
			
		||||
option(BUILD_GMOCK "Builds the googlemock subproject" ON)
 | 
			
		||||
 | 
			
		||||
if(BUILD_GMOCK)
 | 
			
		||||
  add_subdirectory( googlemock )
 | 
			
		||||
elseif(BUILD_GTEST)
 | 
			
		||||
  add_subdirectory( googletest )
 | 
			
		||||
endif()
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user