mirror of
				https://github.com/ethereum/solidity
				synced 2023-10-03 13:03:40 +00:00 
			
		
		
		
	
						commit
						b3ccc0131b
					
				| @ -151,8 +151,11 @@ if (("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU") OR ("${CMAKE_CXX_COMPILER_ID}" MA | ||||
| 
 | ||||
| # The major alternative compiler to GCC/Clang is Microsoft's Visual C++ compiler, only available on Windows. | ||||
| elseif (DEFINED MSVC) | ||||
| 	# Remove NDEBUG from RELWITHDEBINFO (to enable asserts) | ||||
| 	# CMAKE_CXX_FLAGS_RELWITHDEBINFO for GCC/Clang does not include NDEBUG | ||||
| 	string(REPLACE "/DNDEBUG" " " CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") | ||||
| 
 | ||||
|     add_compile_options(/MP)						# enable parallel compilation | ||||
| 	add_compile_options(/MP)						# enable parallel compilation | ||||
| 	add_compile_options(/EHsc)						# specify Exception Handling Model in msvc | ||||
| 	add_compile_options(/WX)						# enable warnings-as-errors | ||||
| 	add_compile_options(/wd4068)					# disable unknown pragma warning (4068) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user