1 include_directories(../include) 2 3 add_subdirectory(pqueue) 4 5 add_library( 6 ssl 7 8 custom_extensions.c 9 d1_both.c 10 d1_clnt.c 11 d1_lib.c 12 d1_meth.c 13 d1_pkt.c 14 d1_srtp.c 15 d1_srvr.c 16 dtls_record.c 17 s3_both.c 18 s3_clnt.c 19 s3_enc.c 20 s3_lib.c 21 s3_meth.c 22 s3_pkt.c 23 s3_srvr.c 24 ssl_aead_ctx.c 25 ssl_asn1.c 26 ssl_buffer.c 27 ssl_cert.c 28 ssl_cipher.c 29 ssl_ecdh.c 30 ssl_file.c 31 ssl_lib.c 32 ssl_rsa.c 33 ssl_session.c 34 ssl_stat.c 35 t1_enc.c 36 t1_lib.c 37 tls_record.c 38 39 $<TARGET_OBJECTS:pqueue> 40 ) 41 42 target_link_libraries(ssl crypto) 43 44 add_executable( 45 ssl_test 46 47 ssl_test.cc 48 49 $<TARGET_OBJECTS:test_support> 50 ) 51 52 target_link_libraries(ssl_test ssl crypto) 53 add_dependencies(all_tests ssl_test) 54