Files
ArduinoJson/CMakeLists.txt
T

19 lines
438 B
CMake
Raw Normal View History

# ArduinoJson - https://arduinojson.org
2021-01-25 09:14:15 +01:00
# Copyright Benoit Blanchon 2014-2021
2016-01-07 22:35:12 +01:00
# MIT License
2021-06-15 18:52:18 +02:00
cmake_minimum_required(VERSION 3.3)
2021-05-05 20:41:35 +02:00
project(ArduinoJson VERSION 6.18.0)
2014-10-14 09:51:23 +02:00
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
include(CTest)
2018-11-12 18:28:34 +01:00
endif()
2020-04-07 21:43:10 +02:00
add_subdirectory(src)
if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME AND BUILD_TESTING)
include(extras/CompileOptions.cmake)
add_subdirectory(extras/tests)
add_subdirectory(extras/fuzzing)
endif()