03ab544832
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>
75 lines
1.2 KiB
Text
75 lines
1.2 KiB
Text
# Ignore makefiles generated by CMake, but not the makefile that's checked in.
|
|
*/Makefile
|
|
!fuzz/Makefile
|
|
|
|
*.sln
|
|
*.vcxproj
|
|
|
|
# Generated source files
|
|
/psa/psa_constant_names_generated.c
|
|
/test/query_config.c
|
|
|
|
*.o
|
|
*.exe
|
|
|
|
aes/crypt_and_hash
|
|
hash/generic_sum
|
|
hash/hello
|
|
hash/md5sum
|
|
hash/sha1sum
|
|
hash/sha2sum
|
|
pkey/dh_client
|
|
pkey/dh_genprime
|
|
pkey/dh_server
|
|
pkey/ecdh_curve25519
|
|
pkey/ecdsa
|
|
pkey/gen_key
|
|
pkey/key_app
|
|
pkey/key_app_writer
|
|
pkey/mpi_demo
|
|
pkey/pk_decrypt
|
|
pkey/pk_encrypt
|
|
pkey/pk_sign
|
|
pkey/pk_verify
|
|
pkey/rsa_decrypt
|
|
pkey/rsa_encrypt
|
|
pkey/rsa_genkey
|
|
pkey/rsa_sign
|
|
pkey/rsa_sign_pss
|
|
pkey/rsa_verify
|
|
pkey/rsa_verify_pss
|
|
psa/crypto_examples
|
|
psa/key_ladder_demo
|
|
psa/psa_constant_names
|
|
random/gen_entropy
|
|
random/gen_random_ctr_drbg
|
|
ssl/dtls_client
|
|
ssl/dtls_server
|
|
ssl/mini_client
|
|
ssl/ssl_client1
|
|
ssl/ssl_client2
|
|
ssl/ssl_context_info
|
|
ssl/ssl_fork_server
|
|
ssl/ssl_mail_client
|
|
ssl/ssl_pthread_server
|
|
ssl/ssl_server
|
|
ssl/ssl_server2
|
|
test/benchmark
|
|
test/cpp_dummy_build
|
|
test/cpp_dummy_build.cpp
|
|
test/ecp-bench
|
|
test/query_compile_time_config
|
|
test/selftest
|
|
test/ssl_cert_test
|
|
test/udp_proxy
|
|
test/zeroize
|
|
util/pem2der
|
|
util/strerror
|
|
x509/cert_app
|
|
x509/cert_req
|
|
x509/cert_write
|
|
x509/crl_app
|
|
x509/req_app
|
|
|
|
# Generated data files
|
|
pkey/keyfile.key
|