CMakeLists.txt revision 9626cfc2
110c492f0SDmitri Tikhonov# Copyright (c) 2017 - 2018 LiteSpeed Technologies Inc.  See LICENSE.
250aadb33SDmitri TikhonovSET(lsquic_STAT_SRCS
350aadb33SDmitri Tikhonov    lsquic_alarmset.c
450aadb33SDmitri Tikhonov    lsquic_conn.c
550aadb33SDmitri Tikhonov    lsquic_full_conn.c
650aadb33SDmitri Tikhonov    lsquic_chsk_stream.c
750aadb33SDmitri Tikhonov    lsquic_engine.c
850aadb33SDmitri Tikhonov    lsquic_parse_gquic_common.c
99626cfc2SDmitri Tikhonov    lsquic_parse_iquic_common.c
109626cfc2SDmitri Tikhonov    lsquic_parse_common.c
1150aadb33SDmitri Tikhonov    lsquic_parse_gquic_le.c
1250aadb33SDmitri Tikhonov    lsquic_parse_gquic_be.c
1350aadb33SDmitri Tikhonov    lsquic_packet_in.c
1450aadb33SDmitri Tikhonov    lsquic_packet_out.c
1550aadb33SDmitri Tikhonov    lsquic_crypto.c
1650aadb33SDmitri Tikhonov    lsquic_handshake.c
1750aadb33SDmitri Tikhonov    lsquic_logger.c
1850aadb33SDmitri Tikhonov    lsquic_malo.c
1950aadb33SDmitri Tikhonov    lsquic_mm.c
2050aadb33SDmitri Tikhonov    lsquic_rechist.c
2150aadb33SDmitri Tikhonov    lsquic_rtt.c
2250aadb33SDmitri Tikhonov    lsquic_send_ctl.c
2350aadb33SDmitri Tikhonov    lsquic_senhist.c
2450aadb33SDmitri Tikhonov    lsquic_cfcw.c
2550aadb33SDmitri Tikhonov    lsquic_sfcw.c
2650aadb33SDmitri Tikhonov    lsquic_stream.c
2750aadb33SDmitri Tikhonov    lsquic_util.c
2850aadb33SDmitri Tikhonov    lsquic_cubic.c
2950aadb33SDmitri Tikhonov    lsquic_set.c
3050aadb33SDmitri Tikhonov    lsquic_headers_stream.c
3150aadb33SDmitri Tikhonov    lsquic_frame_reader.c
3250aadb33SDmitri Tikhonov    lsquic_frame_writer.c
3350aadb33SDmitri Tikhonov    lsquic_crt_compress.c
3450aadb33SDmitri Tikhonov    lsquic_conn_hash.c
3550aadb33SDmitri Tikhonov    lsquic_eng_hist.c
3650aadb33SDmitri Tikhonov    lsquic_spi.c
3750aadb33SDmitri Tikhonov    lsquic_di_nocopy.c
3850aadb33SDmitri Tikhonov    lsquic_di_hash.c
3950aadb33SDmitri Tikhonov    lsquic_di_error.c
4050aadb33SDmitri Tikhonov    lsquic_global.c
4150aadb33SDmitri Tikhonov    lsquic_packet_common.c
4250aadb33SDmitri Tikhonov    lsquic_ev_log.c
4350aadb33SDmitri Tikhonov    lsquic_frame_common.c
4450aadb33SDmitri Tikhonov    lsquic_packints.c
4550aadb33SDmitri Tikhonov    lsquic_version.c
4650aadb33SDmitri Tikhonov    lsquic_pacer.c
4750aadb33SDmitri Tikhonov    lsquic_attq.c
4850aadb33SDmitri Tikhonov    lsquic_str.c
4950aadb33SDmitri Tikhonov    lsquic_arr.c
5050aadb33SDmitri Tikhonov    lsquic_hash.c
5150aadb33SDmitri Tikhonov    lsquic_xxhash.c
5250aadb33SDmitri Tikhonov    lsquic_buf.c
53e8bd737dSDmitri Tikhonov    lsquic_min_heap.c
54bea64822SDmitri Tikhonov    lshpack.c
559626cfc2SDmitri Tikhonov    lsquic_parse_Q044.c
5650aadb33SDmitri Tikhonov    )
5750aadb33SDmitri Tikhonov
5850aadb33SDmitri Tikhonov
5950aadb33SDmitri Tikhonov
60bea64822SDmitri TikhonovSET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DXXH_HEADER_NAME=\\\"lsquic_xxhash.h\\\"")
6150aadb33SDmitri Tikhonov
6250aadb33SDmitri Tikhonovadd_library(lsquic STATIC ${lsquic_STAT_SRCS} )
6350aadb33SDmitri Tikhonov
6450aadb33SDmitri Tikhonovlink_directories(${PROJECT_SOURCE_DIR}/ssl/ /usr/local/lib)
65