CMakeLists.txt revision 55cd0b38
1# Copyright (c) 2017 - 2019 LiteSpeed Technologies Inc. See LICENSE. 2SET(lsquic_STAT_SRCS 3 lsquic_alarmset.c 4 lsquic_conn.c 5 lsquic_full_conn.c 6 lsquic_chsk_stream.c 7 lsquic_engine.c 8 lsquic_parse_gquic_common.c 9 lsquic_parse_iquic_common.c 10 lsquic_parse_common.c 11 lsquic_parse_gquic_le.c 12 lsquic_parse_gquic_be.c 13 lsquic_packet_in.c 14 lsquic_packet_out.c 15 lsquic_crypto.c 16 lsquic_handshake.c 17 lsquic_logger.c 18 lsquic_malo.c 19 lsquic_mm.c 20 lsquic_rechist.c 21 lsquic_rtt.c 22 lsquic_send_ctl.c 23 lsquic_senhist.c 24 lsquic_cfcw.c 25 lsquic_sfcw.c 26 lsquic_stream.c 27 lsquic_util.c 28 lsquic_cubic.c 29 lsquic_set.c 30 lsquic_headers_stream.c 31 lsquic_frame_reader.c 32 lsquic_frame_writer.c 33 lsquic_crt_compress.c 34 lsquic_conn_hash.c 35 lsquic_eng_hist.c 36 lsquic_spi.c 37 lsquic_di_nocopy.c 38 lsquic_di_hash.c 39 lsquic_di_error.c 40 lsquic_global.c 41 lsquic_packet_common.c 42 lsquic_qlog.c 43 lsquic_ev_log.c 44 lsquic_frame_common.c 45 lsquic_packints.c 46 lsquic_version.c 47 lsquic_pacer.c 48 lsquic_attq.c 49 lsquic_str.c 50 lsquic_arr.c 51 lsquic_hash.c 52 lsquic_xxhash.c 53 lsquic_buf.c 54 lsquic_min_heap.c 55 ../lshpack/lshpack.c 56 lsquic_parse_Q044.c 57 lsquic_parse_Q046.c 58 lsquic_http1x_if.c 59 ) 60 61 62 63SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXXH_HEADER_NAME=\\\"lsquic_xxhash.h\\\"") 64 65add_library(lsquic STATIC ${lsquic_STAT_SRCS} ) 66 67link_directories(${PROJECT_SOURCE_DIR}/ssl/ /usr/local/lib) 68