Выбор типа сборки по умолчанию
This commit is contained in:
		
							
								
								
									
										9
									
								
								cmake.sh
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								cmake.sh
									
									
									
									
									
								
							@@ -181,8 +181,13 @@ export -f generate_configuration
 | 
			
		||||
if [ "x$SINGLE_TYPE" != "xn" ]; then
 | 
			
		||||
	BUILD_TYPES=("${SINGLE_TYPE}")
 | 
			
		||||
else
 | 
			
		||||
	[ "x$QTCREATOR" == "xy" ] && BUILD_TYPES=("${QTCREATOR_BUILD_TYPES[@]}")
 | 
			
		||||
	[ "x$CMAKE" == "xy" ] && BUILD_TYPES=("${CMAKE_BUILD_TYPES[@]}")
 | 
			
		||||
	if [ "x$QTCREATOR" == "xy" ]; then
 | 
			
		||||
		BUILD_TYPES=("${QTCREATOR_BUILD_TYPES[@]}")
 | 
			
		||||
	elif [ "x$CMAKE" == "xy" ]; then
 | 
			
		||||
		BUILD_TYPES=("${CMAKE_BUILD_TYPES[@]}")
 | 
			
		||||
	else
 | 
			
		||||
		BUILD_TYPES=("Release")
 | 
			
		||||
	fi
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ ${#BUILD_TYPES[@]} -eq 0 ]; then
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user