mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-23 23:37:37 +02:00
19 lines
391 B
CMake
19 lines
391 B
CMake
# Copyright Benoit Blanchon 2014-2017
|
|
# MIT License
|
|
#
|
|
# Arduino JSON library
|
|
# https://bblanchon.github.io/ArduinoJson/
|
|
# If you like this project, please add a star!
|
|
|
|
cmake_minimum_required(VERSION 3.0)
|
|
project(ArduinoJson)
|
|
|
|
enable_testing()
|
|
|
|
if(${COVERAGE})
|
|
set(CMAKE_CXX_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
|
|
endif()
|
|
|
|
add_subdirectory(third-party/catch)
|
|
add_subdirectory(test)
|