mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-04 14:08:39 +00:00
programs: Link to tests common code
Signed-off-by: Ronald Cron <ronald.cron@arm.com>
This commit is contained in:
parent
ddaf99c9d4
commit
8dc0af2d4b
66 changed files with 259 additions and 232 deletions
|
|
@ -26,7 +26,7 @@ if(TEST_CPP)
|
|||
endif()
|
||||
|
||||
foreach(exe IN LISTS executables_libs executables_mbedcrypto)
|
||||
add_executable(${exe} ${exe}.c)
|
||||
add_executable(${exe} ${exe}.c $<TARGET_OBJECTS:mbedtls_test>)
|
||||
|
||||
# This emulates "if ( ... IN_LIST ... )" which becomes available in CMake 3.3
|
||||
list(FIND executables_libs ${exe} exe_index)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue