2023-04-18 16:00:17 +00:00
|
|
|
execute_process(COMMAND ${MBEDTLS_PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/config.py -f ${CMAKE_CURRENT_SOURCE_DIR}/../include/mbedtls/mbedtls_config.h get MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED RESULT_VARIABLE everest_result)
|
|
|
|
execute_process(COMMAND ${MBEDTLS_PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/../scripts/config.py -f ${CMAKE_CURRENT_SOURCE_DIR}/../include/mbedtls/mbedtls_config.h get MBEDTLS_P256M_EXAMPLE_DRIVER_ENABLED RESULT_VARIABLE p256m_result)
|
2020-05-25 07:39:09 +00:00
|
|
|
|
2023-04-18 16:00:17 +00:00
|
|
|
if(${everest_result} EQUAL 0)
|
2020-05-25 07:39:09 +00:00
|
|
|
add_subdirectory(everest)
|
|
|
|
endif()
|
2023-04-18 16:00:17 +00:00
|
|
|
|
|
|
|
if(${p256m_result} EQUAL 0)
|
|
|
|
add_subdirectory(p256-m)
|
|
|
|
endif()
|