Have make ssl-opt generate tls13-compat.sh

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2024-09-24 19:09:57 +02:00
parent 1150526c8e
commit 63068d69cb
3 changed files with 4 additions and 3 deletions

View File

@ -403,6 +403,9 @@ if(ENABLE_TESTING OR ENABLE_PROGRAMS)
endif()
if(ENABLE_PROGRAMS)
set(ssl_opt_target "${MBEDTLS_TARGET_PREFIX}ssl-opt")
add_custom_target(${ssl_opt_target})
add_subdirectory(programs)
endif()

View File

@ -1,9 +1,6 @@
set(programs_target "${MBEDTLS_TARGET_PREFIX}programs")
add_custom_target(${programs_target})
set(ssl_opt_target "${MBEDTLS_TARGET_PREFIX}ssl-opt")
add_custom_target(${ssl_opt_target})
add_subdirectory(aes)
add_subdirectory(cipher)
if (NOT WIN32)

View File

@ -78,6 +78,7 @@ if(GEN_FILES)
add_custom_target(tls13-compat.sh
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/opt-testcases/tls13-compat.sh)
set_target_properties(tls13-compat.sh PROPERTIES EXCLUDE_FROM_ALL NO)
add_dependencies(${ssl_opt_target} tls13-compat.sh)
else()
foreach(file ${all_generated_data_files})