forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 19
/
CMakeLists.txt
61 lines (55 loc) · 1.29 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 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
)