mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -06:00
134 lines
3.1 KiB
CMake
134 lines
3.1 KiB
CMake
set(SOURCES
|
|
ConsoleProgressBar.cpp
|
|
ConsoleProgressIndicator.cpp
|
|
DeviceHostProxy.cpp
|
|
DeviceHostProxy.h
|
|
disk.cpp
|
|
Distribution.cpp
|
|
Dmesg.cpp
|
|
Dmesg.h
|
|
DnsResolver.cpp
|
|
DnsTunnelingChannel.cpp
|
|
ExecutionContext.cpp
|
|
filesystem.cpp
|
|
GnsChannel.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
|
|
svccommio.cpp
|
|
WSLAProcessLauncher.cpp
|
|
WslClient.cpp
|
|
WslCoreConfig.cpp
|
|
WslCoreFilesystem.cpp
|
|
WslCoreFirewallSupport.cpp
|
|
WslCoreHostDnsInfo.cpp
|
|
WslCoreNetworkEndpointSettings.cpp
|
|
WslCoreNetworkingSupport.cpp
|
|
WslInstall.cpp
|
|
WslSecurity.cpp
|
|
WslTelemetry.cpp
|
|
wslutil.cpp
|
|
)
|
|
|
|
set(HEADERS
|
|
../../../generated/Localization.h
|
|
../inc/lxssbusclient.h
|
|
../inc/lxssclient.h
|
|
../inc/LxssDynamicFunction.h
|
|
../inc/traceloggingconfig.h
|
|
../inc/wdk.h
|
|
../inc/wslconfig.h
|
|
../inc/wsl.h
|
|
../inc/wslhost.h
|
|
../inc/WslPluginApi.h
|
|
../inc/wslpolicies.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
|
|
disk.hpp
|
|
Distribution.h
|
|
DnsResolver.h
|
|
DnsTunnelingChannel.h
|
|
ExecutionContext.h
|
|
filesystem.hpp
|
|
GnsChannel.h
|
|
HandleConsoleProgressBar.h
|
|
hcs.hpp
|
|
hcs_schema.h
|
|
helpers.hpp
|
|
interop.hpp
|
|
ExecutionContext.h
|
|
socket.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
|
|
svccommio.hpp
|
|
WSLAProcessLauncher.h
|
|
WslClient.h
|
|
WslCoreConfig.h
|
|
WslCoreFilesystem.h
|
|
WslCoreFirewallSupport.h
|
|
WslCoreHostDnsInfo.h
|
|
WslCoreMessageQueue.h
|
|
WslCoreNetworkEndpointSettings.h
|
|
WslCoreNetworkingSupport.h
|
|
WslInstall.h
|
|
WslSecurity.h
|
|
WslTelemetry.h
|
|
wslutil.cpp
|
|
)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/src/windows/wslaclient)
|
|
add_library(common STATIC ${SOURCES} ${HEADERS})
|
|
add_dependencies(common wslserviceidl localization wslservicemc wslinstalleridl wslaserviceproxystub)
|
|
|
|
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})
|