mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	Merge pull request #7531 from Morph1984/zm-msvc
CMakeLists: Specify /Zm200 when compiling in MSVC
This commit is contained in:
		@@ -24,6 +24,7 @@ if (MSVC)
 | 
				
			|||||||
    # /W3                 - Level 3 warnings
 | 
					    # /W3                 - Level 3 warnings
 | 
				
			||||||
    # /MP                 - Multi-threaded compilation
 | 
					    # /MP                 - Multi-threaded compilation
 | 
				
			||||||
    # /Zi                 - Output debugging information
 | 
					    # /Zi                 - Output debugging information
 | 
				
			||||||
 | 
					    # /Zm                 - Specifies the precompiled header memory allocation limit
 | 
				
			||||||
    # /Zo                 - Enhanced debug info for optimized builds
 | 
					    # /Zo                 - Enhanced debug info for optimized builds
 | 
				
			||||||
    # /permissive-        - Enables stricter C++ standards conformance checks
 | 
					    # /permissive-        - Enables stricter C++ standards conformance checks
 | 
				
			||||||
    # /EHsc               - C++-only exception handling semantics
 | 
					    # /EHsc               - C++-only exception handling semantics
 | 
				
			||||||
@@ -36,6 +37,7 @@ if (MSVC)
 | 
				
			|||||||
    add_compile_options(
 | 
					    add_compile_options(
 | 
				
			||||||
        /MP
 | 
					        /MP
 | 
				
			||||||
        /Zi
 | 
					        /Zi
 | 
				
			||||||
 | 
					        /Zm200
 | 
				
			||||||
        /Zo
 | 
					        /Zo
 | 
				
			||||||
        /permissive-
 | 
					        /permissive-
 | 
				
			||||||
        /EHsc
 | 
					        /EHsc
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user