1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-30 22:43:08 +03:00

3rdparty: Add additional build facilities for 3rd-party code

This commit is contained in:
Christoph M. Wintersteiger
2019-01-21 17:26:19 +00:00
committed by Janos Follath
parent 405b371a84
commit 6ea2dea1c5
11 changed files with 79 additions and 27 deletions

View File

@ -74,7 +74,6 @@ set(src_crypto
threading.c
timing.c
xtea.c
${src_thirdparty}
)
# For files generated by the parent project (Mbed TLS) when building Mbed
@ -95,6 +94,8 @@ set(src_crypto
)
endif()
list(APPEND src_crypto ${thirdparty_src})
if(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-declarations -Wmissing-prototypes")
endif(CMAKE_COMPILER_IS_GNUCC)