summaryrefslogtreecommitdiff
path: root/accel-pptpd/CMakeLists.txt
blob: d68cbe9142b6b3c1cc425b793da3f31fc95a5db7 (plain)
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
PROJECT (pptpd)
cmake_minimum_required(VERSION 2.6)

SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fvisibility=hidden -D_GNU_SOURCE")

ADD_SUBDIRECTORY(triton)

ADD_EXECUTABLE(pptpd
	main.c
	pptp.c
	log.c
	ppp.c
	ppp_fsm.c
	
	ppp_lcp.c
	lcp_opt_mru.c
	lcp_opt_magic.c
	lcp_opt_pcomp.c
	lcp_opt_accomp.c
	
	ppp_auth.c
	auth_pap.c
	auth_chap_md5.c
	auth_mschap_v1.c
	auth_mschap_v2.c
	
	ppp_ipcp.c
	ipcp_opt_ipaddr.c
	ipcp_opt_dns.c
	
	ppp_ccp.c
	
	pwdb.c
	ipdb.c
)
TARGET_LINK_LIBRARIES(pptpd pthread triton ssl)