CMakeLists.txt revision c7d81ce1
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_ev_log.c 43 lsquic_frame_common.c 44 lsquic_packints.c 45 lsquic_version.c 46 lsquic_pacer.c 47 lsquic_attq.c 48 lsquic_str.c 49 lsquic_arr.c 50 lsquic_hash.c 51 lsquic_xxhash.c 52 lsquic_buf.c 53 lsquic_min_heap.c 54 ../lshpack/lshpack.c 55 lsquic_parse_Q044.c 56 lsquic_parse_Q046.c 57 lsquic_http1x_if.c 58 ) 59 60 61 62SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXXH_HEADER_NAME=\\\"lsquic_xxhash.h\\\"") 63 64add_library(lsquic STATIC ${lsquic_STAT_SRCS} ) 65 66link_directories(${PROJECT_SOURCE_DIR}/ssl/ /usr/local/lib) 67