forked from microsoft/WSL
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
144 lines (141 loc) · 3.36 KB
/
CMakeLists.txt
File metadata and controls
144 lines (141 loc) · 3.36 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
set(SOURCES
ConsoleProgressBar.cpp
ConsoleProgressIndicator.cpp
ConsoleState.cpp
DeviceHostProxy.cpp
disk.cpp
Distribution.cpp
Dmesg.cpp
DnsResolver.cpp
DnsTunnelingChannel.cpp
ExecutionContext.cpp
filesystem.cpp
GnsChannel.cpp
GnsPortTrackerChannel.cpp
GuestDeviceManager.cpp
HandleConsoleProgressBar.cpp
hcs.cpp
helpers.cpp
hvsocket.cpp
interop.cpp
Localization.cpp
lxssbusclient.cpp
lxssclient.cpp
LxssMessagePort.cpp
LxssSecurity.cpp
LxssServerPort.cpp
NatNetworking.cpp
notifications.cpp
Redirector.cpp
registry.cpp
relay.cpp
RingBuffer.cpp
socket.cpp
string.cpp
SubProcess.cpp
svccomm.cpp
WSLCContainerLauncher.cpp
WSLCLocalRegistry.cpp
WslcCredentialStore.cpp
VirtioNetworking.cpp
WSLCProcessLauncher.cpp
WslClient.cpp
WslCoreConfig.cpp
WslCoreFilesystem.cpp
WslCoreFirewallSupport.cpp
WslCoreHostDnsInfo.cpp
WslCoreNetworkEndpointSettings.cpp
WslCoreNetworkingSupport.cpp
WslInstall.cpp
WslSecurity.cpp
WslTelemetry.cpp
wslutil.cpp
install.cpp
)
set(HEADERS
../../../generated/Localization.h
../inc/docker_schema.h
../inc/wslc_schema.h
../inc/lxssbusclient.h
../inc/lxssclient.h
../inc/LxssDynamicFunction.h
../inc/traceloggingconfig.h
../inc/wdk.h
../inc/wsl.h
../inc/wslconfig.h
../inc/wslhost.h
../inc/wslpolicies.h
../inc/WslPluginApi.h
../inc/wslrelay.h
../../shared/inc/CommandLine.h
../../shared/inc/defs.h
../../shared/inc/hns_schema.h
../../shared/inc/JsonUtils.h
../../shared/inc/lxfsshares.h
../../shared/inc/lxinitshared.h
../../shared/inc/message.h
../../shared/inc/prettyprintshared.h
../../shared/inc/retryshared.h
../../shared/inc/SocketChannel.h
../../shared/inc/socketshared.h
../../shared/inc/stringshared.h
ConsoleProgressBar.h
ConsoleProgressIndicator.h
ConsoleState.h
DeviceHostProxy.h
disk.hpp
Distribution.h
Dmesg.h
DnsResolver.h
DnsTunnelingChannel.h
ExecutionContext.h
filesystem.hpp
GnsChannel.h
GnsPortTrackerChannel.h
GuestDeviceManager.h
HandleConsoleProgressBar.h
hcs.hpp
hcs_schema.h
helpers.hpp
hvsocket.hpp
INetworkingEngine.h
interop.hpp
LxssMessagePort.h
LxssPort.h
LxssSecurity.h
LxssServerPort.h
NatNetworking.h
notifications.h
precomp.h
Redirector.h
registry.hpp
relay.hpp
RingBuffer.h
socket.hpp
string.hpp
Stringify.h
SubProcess.h
svccomm.hpp
WSLCContainerLauncher.h
WSLCLocalRegistry.h
WslcCredentialStore.h
VirtioNetworking.h
WSLCProcessLauncher.h
WslClient.h
WslCoreConfig.h
WslCoreFilesystem.h
WslCoreFirewallSupport.h
WslCoreHostDnsInfo.h
WslCoreMessageQueue.h
WslCoreNetworkEndpointSettings.h
WslCoreNetworkingSupport.h
WslInstall.h
WslSecurity.h
WslTelemetry.h
wslutil.h
)
add_library(common STATIC ${SOURCES} ${HEADERS})
add_dependencies(common wslserviceidl wslcidl localization wslservicemc wslinstalleridl)
target_precompile_headers(common PRIVATE precomp.h)
set_target_properties(common PROPERTIES FOLDER windows)
target_include_directories(common PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/../service/mc/${TARGET_PLATFORM}/${CMAKE_BUILD_TYPE})