Bump CMake minimum, pare down config.h

This commit is contained in:
Tiger Wang 2021-02-09 12:19:35 +00:00
parent d65aeb3734
commit 5e881e8ea9
2 changed files with 3 additions and 5 deletions

View File

@ -16,9 +16,7 @@
# mbedtls, mbedx509, mbedcrypto and apidoc targets. # mbedtls, mbedx509, mbedcrypto and apidoc targets.
# #
# We specify a minimum requirement of 3.10.2, but for now use 3.5.1 here cmake_minimum_required(VERSION 3.13)
# until our infrastructure catches up.
cmake_minimum_required(VERSION 3.5.1)
include(CMakePackageConfigHelpers) include(CMakePackageConfigHelpers)

View File

@ -1265,7 +1265,7 @@
* *
* Enable the checkup functions (*_self_test). * Enable the checkup functions (*_self_test).
*/ */
#define MBEDTLS_SELF_TEST //#define MBEDTLS_SELF_TEST
/** /**
* \def MBEDTLS_SHA256_SMALLER * \def MBEDTLS_SHA256_SMALLER
@ -2440,7 +2440,7 @@
* *
* This module provides networking routines. * This module provides networking routines.
*/ */
#define MBEDTLS_NET_C //#define MBEDTLS_NET_C
/** /**
* \def MBEDTLS_OID_C * \def MBEDTLS_OID_C