mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
[idd] build: handle spaces in MsQuic paths
This commit is contained in:
@@ -28,15 +28,17 @@
|
||||
Condition="'$(LGMsQuicArchitecture)'==''"
|
||||
Text="Static MsQuic does not support the $(Platform) platform in this project." />
|
||||
<MakeDir Directories="$(LGMsQuicBuildDir)" />
|
||||
<!-- NormalizeDirectory adds a trailing slash. The dot prevents that slash
|
||||
from escaping the closing quote in the command line. -->
|
||||
<Exec
|
||||
Command="cmake -S "$(LGMsQuicSourceDir)" -B "$(LGMsQuicBuildDir)" -G "Visual Studio 17 2022" -A "$(LGMsQuicArchitecture)" -T v143 -DCMAKE_SYSTEM_VERSION="$(WindowsTargetPlatformVersion)" -DQUIC_BUILD_SHARED=OFF -DQUIC_BUILD_TOOLS=OFF -DQUIC_BUILD_TEST=OFF -DQUIC_BUILD_PERF=OFF -DQUIC_TLS_LIB=schannel -DQUIC_ENABLE_LOGGING=OFF -DQUIC_STATIC_LINK_CRT=OFF -DQUIC_STATIC_LINK_PARTIAL_CRT=OFF -DQUIC_SOURCE_LINK=OFF -DQUIC_PDBALTPATH=OFF -DQUIC_EMBED_GIT_HASH=OFF" />
|
||||
Command="cmake -S "$(LGMsQuicSourceDir)." -B "$(LGMsQuicBuildDir)." -G "Visual Studio 17 2022" -A "$(LGMsQuicArchitecture)" -T v143 -DCMAKE_SYSTEM_VERSION="$(WindowsTargetPlatformVersion)" -DQUIC_BUILD_SHARED=OFF -DQUIC_BUILD_TOOLS=OFF -DQUIC_BUILD_TEST=OFF -DQUIC_BUILD_PERF=OFF -DQUIC_TLS_LIB=schannel -DQUIC_ENABLE_LOGGING=OFF -DQUIC_STATIC_LINK_CRT=OFF -DQUIC_STATIC_LINK_PARTIAL_CRT=OFF -DQUIC_SOURCE_LINK=OFF -DQUIC_PDBALTPATH=OFF -DQUIC_EMBED_GIT_HASH=OFF" />
|
||||
</Target>
|
||||
<Target
|
||||
Name="BuildLGMsQuic"
|
||||
BeforeTargets="Link"
|
||||
DependsOnTargets="ConfigureLGMsQuic">
|
||||
<Exec
|
||||
Command="cmake --build "$(LGMsQuicBuildDir)" --config "$(LGBaseConfiguration)" --target msquic_lib --parallel" />
|
||||
Command="cmake --build "$(LGMsQuicBuildDir)." --config "$(LGBaseConfiguration)" --target msquic_lib --parallel" />
|
||||
<Error
|
||||
Condition="!Exists('$(LGMsQuicLibrary)')"
|
||||
Text="The static MsQuic build did not produce $(LGMsQuicLibrary)." />
|
||||
|
||||
Reference in New Issue
Block a user