mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 16:14:11 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			536 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			536 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| # Copyright Benoit Blanchon 2014-2017
 | |
| # MIT License
 | |
| # 
 | |
| # Arduino JSON library
 | |
| # https://github.com/bblanchon/ArduinoJson
 | |
| # If you like this project, please add a star!
 | |
| 
 | |
| cmake_minimum_required(VERSION 3.0)
 | |
| project(ArduinoJson)
 | |
| 
 | |
| enable_testing()
 | |
| 
 | |
| set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
 | |
| set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/lib)
 | |
| set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/bin)
 | |
| 
 | |
| if(${COVERAGE})
 | |
| 	set(CMAKE_CXX_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
 | |
| endif()
 | |
| 
 | |
| add_subdirectory(test)
 |