mbedtls/programs/test
David Brown a8e309e01d cmake: Fix added sources to targets
In cmake version < 3.0, the SOURCES property on targets cannot be
modified after the target is defined.  There are several instances in
the code that were using `target_properties()`, which is not available
in the older versions of cmake.  Unfortunately, the workaround in #3801
(381c1078fc) assumes that this SOURCES property can be modified.

Work around this by building up any necessary sources before declaring
the target.  This is more awkward, but needed to continue to be able to
support the old versions of cmake.

Fixes #3788.

Signed-off-by: David Brown <david.brown@linaro.org>
2020-11-18 16:28:00 -07:00
..
cmake_subproject Build: Add MBEDTLS_TARGET_PREFIX 2020-10-20 13:44:44 +01:00
benchmark.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
CMakeLists.txt cmake: Fix added sources to targets 2020-11-18 16:28:00 -07:00
cpp_dummy_build.cpp Include public and public-ish PSA headers in CPP check 2020-10-22 11:55:50 +02:00
query_compile_time_config.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
query_config.c Add the SRTP configuration to query_config 2020-10-29 01:14:49 +01:00
selftest.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
udp_proxy_wrapper.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
udp_proxy.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
zeroize.c Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00