mbedtls/programs/test
Gilles Peskine 03ab544832 Generate cpp_cummy_build.cpp dynamically
Generate programs/test/cpp_dummy_build.cpp dynamically instead of
maintaining it manually. This removes the need to update it when the list of
headers changes.

Include all the headers unconditionally except for the ones that cannot be
included directly.

Support this dynamic generation both with make and with cmake.

Adapt all.sh accordingly. Remove the redundant C build from
component_build_default_make_gcc_and_cxx (it was also done in
component_test_default_out_of_box), leaving a component_test_make_cxx. Also
run the C++ program, because why not. Do this in the full configuration
which may catch a bit more problems in headers.

Fixes #2570 for good.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-07-12 18:19:31 +02:00
..
cmake_package Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
cmake_package_install Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
cmake_subproject Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
benchmark.c Merge pull request #4694 from gilles-peskine-arm/out_size-3.0 2021-06-29 09:43:17 +02:00
CMakeLists.txt Generate cpp_cummy_build.cpp dynamically 2021-07-12 18:19:31 +02:00
generate_cpp_dummy_build.sh Generate cpp_cummy_build.cpp dynamically 2021-07-12 18:19:31 +02:00
query_compile_time_config.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
query_config.h Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
selftest.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
udp_proxy_wrapper.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
udp_proxy.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00
zeroize.c Replace all inclusions of config.h 2021-06-28 09:24:07 +01:00