2017-11-07 20:42:50 +01:00
|
|
|
# ArduinoJson - arduinojson.org
|
2020-01-09 15:48:38 +01:00
|
|
|
# Copyright Benoit Blanchon 2014-2020
|
2016-01-07 22:35:12 +01:00
|
|
|
# MIT License
|
|
|
|
|
2020-07-15 11:05:36 +02:00
|
|
|
cmake_minimum_required(VERSION 3.7)
|
2020-04-09 21:28:48 +02:00
|
|
|
|
2020-08-01 15:34:27 +02:00
|
|
|
project(ArduinoJson VERSION 6.16.0)
|
2014-10-14 09:51:23 +02:00
|
|
|
|
2020-04-11 12:25:38 +02:00
|
|
|
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
|
|
|
|
include(CTest)
|
|
|
|
endif()
|
2020-04-07 21:43:10 +02:00
|
|
|
|
2020-04-11 12:25:38 +02:00
|
|
|
add_subdirectory(src)
|
2014-10-14 09:51:23 +02:00
|
|
|
|
2020-04-11 12:25:38 +02:00
|
|
|
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
|
2020-04-28 09:32:50 +02:00
|
|
|
include(extras/CompileOptions.cmake)
|
2020-04-11 12:25:38 +02:00
|
|
|
add_subdirectory(extras/tests)
|
|
|
|
add_subdirectory(extras/fuzzing)
|
|
|
|
endif()
|