| 
									
										
										
										
											2021-03-29 17:14:01 +02:00
										 |  |  | # ArduinoJson - https://arduinojson.org
 | 
					
						
							| 
									
										
										
										
											2021-01-25 09:14:15 +01:00
										 |  |  | # Copyright Benoit Blanchon 2014-2021
 | 
					
						
							| 
									
										
										
										
											2017-04-18 18:22:24 +02:00
										 |  |  | # MIT License
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-09 18:56:14 +01:00
										 |  |  | set(CMAKE_CXX_STANDARD 17)
 | 
					
						
							| 
									
										
										
										
											2021-12-31 17:49:22 +01:00
										 |  |  | set(CMAKE_CXX_STANDARD_REQUIRED OFF)
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-18 18:22:24 +02:00
										 |  |  | add_library(catch | 
					
						
							|  |  |  | 	catch.hpp
 | 
					
						
							|  |  |  | 	catch.cpp
 | 
					
						
							|  |  |  | )
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | target_include_directories(catch | 
					
						
							|  |  |  | 	PUBLIC
 | 
					
						
							| 
									
										
										
										
											2023-02-09 10:00:38 +01:00
										 |  |  | 		${CMAKE_CURRENT_SOURCE_DIR}
 | 
					
						
							| 
									
										
										
										
											2017-04-18 18:22:24 +02:00
										 |  |  | )
 | 
					
						
							| 
									
										
										
										
											2019-03-01 11:41:47 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-02-09 18:56:14 +01:00
										 |  |  | if(MINGW)
 | 
					
						
							|  |  |  | 	# prevent "too many sections (32837)" with MinGW
 | 
					
						
							|  |  |  | 	target_compile_options(catch PRIVATE -Wa,-mbig-obj)
 | 
					
						
							| 
									
										
										
										
											2019-03-01 11:41:47 +01:00
										 |  |  | endif()
 |