-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Enable use of Mbed TLS as a CMake subproject #2706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
3d865b1 to
adc02bc
Compare
|
Rebased to add information about this newly supported feature to the README and to add a regression test. |
adc02bc to
52692c7
Compare
|
Force pushed to update crypto submodule |
52692c7 to
996411b
Compare
|
Rebased to update crypto submodule |
996411b to
e71f8d0
Compare
|
Rebased to not require too new of a CMake version. |
andresag01
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Just some minor comments, but no blockers.
e71f8d0 to
39f9d6e
Compare
|
Rebased to change minimum CMake version to 2.6, to match the version required by the top level project |
Remove use of CMAKE_SOURCE_DIR in case mbedtls is built from within
another CMake project. Define MBEDTLS_DIR to ${CMAKE_CURRENT_SOURCE_DIR}
in the main CMakeLists.txt file and refer to that when defining target
include paths to enable mbedtls to be built as a sub project.
Fixes Mbed-TLS#2609
Signed-off-by: Ashley Duncan <ashes.man@gmail.com>
Signed-off-by: Jaeden Amero <jaeden.amero@arm.com>
Update the README with information on a newly supported feature: the ability to build Mbed TLS as a subproject of another CMake project.
39f9d6e to
fdeefaa
Compare
|
Rebased to rebase atop latest |
If we have a regression with the "build Mbed TLS as a subdirectory with CMake" feature and fail to build, fail the test.
13b76fd to
b498569
Compare
|
Rebased to move cleanup of the CMake subproject test to |
b498569 to
c15c3f6
Compare
|
Rebased to update to the latest ARMmbed/mbed-crypto#152 |
Update Mbed Crypto to a commit on its development branch that contains the merged [mbed-crypto#152 PR](ARMmbed/mbed-crypto#152).
c15c3f6 to
a4b94c4
Compare
|
Rebased to update Mbed Crypto to a commit on its development branch containing the merged ARMmbed/mbed-crypto#152 PR. |
|
@Patater when is this PR expected to be merged? |
Remove use of CMAKE_SOURCE_DIR in case mbedtls is built from within
another CMake project. Define MBEDTLS_DIR to ${CMAKE_CURRENT_SOURCE_DIR}
in the main CMakeLists.txt file and refer to that when defining target
include paths to enable mbedtls to be built as a sub project.
Fixes #2609
Signed-off-by: Ashley Duncan ashes.man@gmail.com
Signed-off-by: Jaeden Amero jaeden.amero@arm.com
Description
A few sentences describing the overall goals of the pull request's commits.
Status
IN DEVELOPMENT
Requires Backporting
NO - but may be useful in a 2.18.1
Migrations
NO
Additional comments
Any additional information that could be of interest
Todos