mirror of https://github.com/ARMmbed/mbed-os.git
61 lines
1.3 KiB
CMake
61 lines
1.3 KiB
CMake
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
add_library(mbed-ppp STATIC EXCLUDE_FROM_ALL)
|
|
|
|
target_include_directories(mbed-ppp
|
|
PUBLIC
|
|
.
|
|
./include
|
|
./include/polarssl
|
|
./include/ppp
|
|
)
|
|
|
|
target_sources(mbed-ppp
|
|
PRIVATE
|
|
source/auth.c
|
|
source/ccp.c
|
|
source/chap-md5.c
|
|
source/chap-new.c
|
|
source/chap_ms.c
|
|
source/demand.c
|
|
source/eap.c
|
|
source/eui64.c
|
|
source/fsm.c
|
|
source/ipcp.c
|
|
source/ipv6cp.c
|
|
source/lcp.c
|
|
source/magic.c
|
|
source/mppe.c
|
|
source/multilink.c
|
|
source/ppp.c
|
|
source/ppp_ecp.c
|
|
source/ppp_service.cpp
|
|
source/ppp_service_if.cpp
|
|
source/pppapi.c
|
|
source/pppcrypt.c
|
|
source/pppoe.c
|
|
source/pppol2tp.c
|
|
source/pppos.cpp
|
|
source/upap.c
|
|
source/utils.c
|
|
source/vj.c
|
|
|
|
source/polarssl/ppp_arc4.c
|
|
source/polarssl/ppp_des.c
|
|
source/polarssl/ppp_md4.c
|
|
source/polarssl/ppp_md5.c
|
|
source/polarssl/ppp_sha1.c
|
|
)
|
|
|
|
target_compile_definitions(mbed-ppp
|
|
PUBLIC
|
|
MBED_CONF_PPP_PRESENT=1
|
|
)
|
|
|
|
target_link_libraries(mbed-ppp
|
|
PUBLIC
|
|
mbed-netsocket-api
|
|
PRIVATE
|
|
mbed-rtos-flags
|
|
) |