kopia lustrzana https://github.com/f4exb/sdrangel
				
				
				
			CMake: Produce compile commands on supported generators
							rodzic
							
								
									786640ee1f
								
							
						
					
					
						commit
						35a01df5d1
					
				| 
						 | 
				
			
			@ -11,6 +11,8 @@ set(CMAKE_CXX_STANDARD 11)
 | 
			
		|||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
 | 
			
		||||
set(CMAKE_CXX_EXTENSIONS OFF)
 | 
			
		||||
 | 
			
		||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
 | 
			
		||||
 | 
			
		||||
# configure version
 | 
			
		||||
set(sdrangel_VERSION_MAJOR "4")
 | 
			
		||||
set(sdrangel_VERSION_MINOR "21")
 | 
			
		||||
| 
						 | 
				
			
			@ -207,7 +209,7 @@ elseif (WIN32)
 | 
			
		|||
 | 
			
		||||
  # compile with full multicore
 | 
			
		||||
  if(MSVC)
 | 
			
		||||
    add_compile_definitions(/MP)
 | 
			
		||||
    add_compile_options(/MP)
 | 
			
		||||
  endif()
 | 
			
		||||
 | 
			
		||||
  # in alternative we can use ExternalProject
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue