-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
53 lines (50 loc) · 1.11 KB
/
CMakeLists.txt
File metadata and controls
53 lines (50 loc) · 1.11 KB
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
set(SOURCES
main.cpp
binfmt.cpp
config.cpp
DnsServer.cpp
DnsTunnelingChannel.cpp
DnsTunnelingManager.cpp
drvfs.cpp
escape.cpp
GnsEngine.cpp
GnsPortTracker.cpp
init.cpp
localhost.cpp
Localization.cpp
NetworkManager.cpp
plan9.cpp
telemetry.cpp
timezone.cpp
SecCompDispatcher.cpp
util.cpp
WslDistributionConfig.cpp
wslinfo.cpp
wslpath.cpp)
set(HEADERS
../inc/lxwil.h
binfmt.h
common.h
config.h
DnsServer.h
DnsTunnelingChannel.h
DnsTunnelingManager.h
drvfs.h
escape.h
GnsEngine.h
GnsPortTracker.h
localhost.h
NetworkManager.h
plan9.h
telemetry.h
timezone.h
SecCompDispatcher.h
util.h
WslDistributionConfig.h
wslinfo.h
wslpath.h)
set(LINUX_CXXFLAGS ${LINUX_CXXFLAGS} -I "${CMAKE_CURRENT_LIST_DIR}/../netlinkutil")
set(INIT_LIBRARIES ${COMMON_LINUX_LINK_LIBRARIES} netlinkutil plan9 mountutil configfile)
add_linux_executable(init "${SOURCES}" "${HEADERS}" "${INIT_LIBRARIES}")
add_dependencies(init localization)
set_target_properties(init PROPERTIES FOLDER linux)