Files
ArduinoJson/CMakeLists.txt

19 lines
391 B
CMake
Raw Normal View History

# Copyright Benoit Blanchon 2014-2017
# MIT License
#
# Arduino JSON library
2017-03-25 22:05:06 +01:00
# https://bblanchon.github.io/ArduinoJson/
# If you like this project, please add a star!
cmake_minimum_required(VERSION 3.0)
2014-10-14 09:51:23 +02:00
project(ArduinoJson)
2014-10-14 10:01:46 +02:00
enable_testing()
2014-10-14 09:51:23 +02:00
2014-11-30 15:11:19 +01:00
if(${COVERAGE})
set(CMAKE_CXX_FLAGS "-g -O0 -fprofile-arcs -ftest-coverage")
2014-11-30 15:11:19 +01:00
endif()
add_subdirectory(third-party/catch)
add_subdirectory(test)