add arduinoJson
This commit is contained in:
2
lib/ArduinoJson/extras/tests/catch/.clang-format
Normal file
2
lib/ArduinoJson/extras/tests/catch/.clang-format
Normal file
@@ -0,0 +1,2 @@
|
||||
DisableFormat: true
|
||||
SortIncludes: false
|
||||
21
lib/ArduinoJson/extras/tests/catch/CMakeLists.txt
Normal file
21
lib/ArduinoJson/extras/tests/catch/CMakeLists.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
# ArduinoJson - https://arduinojson.org
|
||||
# Copyright Benoit Blanchon 2014-2021
|
||||
# MIT License
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED OFF)
|
||||
|
||||
add_library(catch
|
||||
catch.hpp
|
||||
catch.cpp
|
||||
)
|
||||
|
||||
target_include_directories(catch
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
|
||||
# prevent "xxx will change in GCC x.x" with arm-linux-gnueabihf-gcc
|
||||
target_compile_options(catch PRIVATE -Wno-psabi)
|
||||
endif()
|
||||
6
lib/ArduinoJson/extras/tests/catch/catch.cpp
Normal file
6
lib/ArduinoJson/extras/tests/catch/catch.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
// ArduinoJson - https://arduinojson.org
|
||||
// Copyright Benoit Blanchon 2014-2021
|
||||
// MIT License
|
||||
|
||||
#define CATCH_CONFIG_MAIN
|
||||
#include "catch.hpp"
|
||||
11826
lib/ArduinoJson/extras/tests/catch/catch.hpp
Normal file
11826
lib/ArduinoJson/extras/tests/catch/catch.hpp
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user