CMakeLists.txt revision 97028223
1# Copyright (c) 2017 - 2018 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_gquic_le.c 10 lsquic_parse_gquic_be.c 11 lsquic_packet_in.c 12 lsquic_packet_out.c 13 lsquic_crypto.c 14 lsquic_handshake.c 15 lsquic_logger.c 16 lsquic_malo.c 17 lsquic_mm.c 18 lsquic_rechist.c 19 lsquic_rtt.c 20 lsquic_send_ctl.c 21 lsquic_senhist.c 22 lsquic_cfcw.c 23 lsquic_sfcw.c 24 lsquic_stream.c 25 lsquic_util.c 26 lsquic_cubic.c 27 lsquic_set.c 28 lsquic_headers_stream.c 29 lsquic_frame_reader.c 30 lsquic_frame_writer.c 31 lsquic_crt_compress.c 32 lsquic_conn_hash.c 33 lsquic_eng_hist.c 34 lsquic_spi.c 35 lsquic_di_nocopy.c 36 lsquic_di_hash.c 37 lsquic_di_error.c 38 lsquic_global.c 39 lsquic_packet_common.c 40 lsquic_ev_log.c 41 lsquic_frame_common.c 42 lsquic_packints.c 43 lsquic_version.c 44 lsquic_pacer.c 45 lsquic_attq.c 46 lsquic_str.c 47 lsquic_arr.c 48 lsquic_hash.c 49 lsquic_xxhash.c 50 lsquic_buf.c 51 lsquic_min_heap.c 52 lshpack.c 53 ) 54 55 56 57SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXXH_HEADER_NAME=\\\"lsquic_xxhash.h\\\"") 58 59add_library(lsquic STATIC ${lsquic_STAT_SRCS} ) 60 61link_directories(${PROJECT_SOURCE_DIR}/ssl/ /usr/local/lib) 62