mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			653 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			653 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # ArduinoJson - arduinojson.org
 | |
| # Copyright Benoit Blanchon 2014-2019
 | |
| # MIT License
 | |
| 
 | |
| add_executable(MiscTests
 | |
| 	conflicts.cpp
 | |
| 	FloatParts.cpp
 | |
| 	StringWriter.cpp
 | |
| 	TypeTraits.cpp
 | |
| 	unsigned_char.cpp
 | |
| 	version.cpp
 | |
| )
 | |
| 
 | |
| target_link_libraries(MiscTests catch)
 | |
| add_test(Misc MiscTests)
 | |
| 
 | |
| 
 | |
| add_executable(Issue978
 | |
| 	Issue978.cpp
 | |
| )
 | |
| set_target_properties(Issue978
 | |
| 	PROPERTIES
 | |
|     	EXCLUDE_FROM_ALL TRUE
 | |
|         EXCLUDE_FROM_DEFAULT_BUILD TRUE
 | |
| )
 | |
| add_test(
 | |
| 	NAME
 | |
| 		Issue978
 | |
|     COMMAND
 | |
|     	${CMAKE_COMMAND} --build . --target Issue978 --config $<CONFIGURATION>
 | |
|     WORKING_DIRECTORY
 | |
|     	${CMAKE_BINARY_DIR}
 | |
| )
 | |
| set_tests_properties(Issue978 
 | |
| 	PROPERTIES
 | |
| 		WILL_FAIL TRUE)
 |