qmake.pro: Add explicit C++11 flags
This commit is contained in:
		
							parent
							
								
									422c76328b
								
							
						
					
					
						commit
						b1eed5fb00
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		
							
								
								
									
										4
									
								
								mkxp.pro
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								mkxp.pro
									
										
									
									
									
								
							| 
						 | 
					@ -8,6 +8,10 @@ INCLUDEPATH += . src
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CONFIG(release, debug|release): DEFINES += NDEBUG
 | 
					CONFIG(release, debug|release): DEFINES += NDEBUG
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					CONFIG += c++11
 | 
				
			||||||
 | 
					# And for older qmake versions..
 | 
				
			||||||
 | 
					QMAKE_CXXFLAGS += -std=c++11
 | 
				
			||||||
 | 
					
 | 
				
			||||||
isEmpty(BINDING) {
 | 
					isEmpty(BINDING) {
 | 
				
			||||||
	BINDING = MRI
 | 
						BINDING = MRI
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue