mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 18:21:35 +01:00 
			
		
		
		
	treat warnings as errors on msvc as well
This commit is contained in:
		
							parent
							
								
									a4881dda8b
								
							
						
					
					
						commit
						60b8d6e2fc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -47,7 +47,7 @@ if (NOT TEST_INSTALLED_VERSION) | |||
|   if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "GNU") | ||||
|     target_compile_options(Greeter PUBLIC -Wall -pedantic -Wextra -Werror) | ||||
|   elseif(MSVC) | ||||
|     target_compile_options(Greeter PUBLIC /W4) | ||||
|     target_compile_options(Greeter PUBLIC /W4 /WX) | ||||
|   endif() | ||||
| endif() | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue