添加依赖库

This commit is contained in:
kerwincui
2021-07-09 21:37:19 +08:00
parent 1e4fc7ae4e
commit 7fb709c31f
410 changed files with 44833 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
# ArduinoJson - https://arduinojson.org
# Copyright Benoit Blanchon 2014-2021
# MIT License
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()

View File

@@ -0,0 +1,6 @@
// ArduinoJson - https://arduinojson.org
// Copyright Benoit Blanchon 2014-2021
// MIT License
#define CATCH_CONFIG_MAIN
#include "catch.hpp"

File diff suppressed because it is too large Load Diff