Files
ArduinoJson/CMakeLists.txt
T

19 lines
442 B
CMake
Raw Normal View History

2017-01-06 21:07:34 +01:00
# Copyright Benoit Blanchon 2014-2017
2016-01-07 22:35:12 +01:00
# MIT License
#
# Arduino JSON library
2017-03-25 22:05:06 +01:00
# https://bblanchon.github.io/ArduinoJson/
2016-01-07 22:35:12 +01:00
# 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()
include_directories(${CMAKE_CURRENT_LIST_DIR}/src)
add_subdirectory(third-party/catch)
add_subdirectory(test)