mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-13 15:27:21 +00:00
[idd] build: handle spaces in MsQuic paths
This commit is contained in:
@@ -28,15 +28,17 @@
|
|||||||
Condition="'$(LGMsQuicArchitecture)'==''"
|
Condition="'$(LGMsQuicArchitecture)'==''"
|
||||||
Text="Static MsQuic does not support the $(Platform) platform in this project." />
|
Text="Static MsQuic does not support the $(Platform) platform in this project." />
|
||||||
<MakeDir Directories="$(LGMsQuicBuildDir)" />
|
<MakeDir Directories="$(LGMsQuicBuildDir)" />
|
||||||
|
<!-- NormalizeDirectory adds a trailing slash. The dot prevents that slash
|
||||||
|
from escaping the closing quote in the command line. -->
|
||||||
<Exec
|
<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>
|
||||||
<Target
|
<Target
|
||||||
Name="BuildLGMsQuic"
|
Name="BuildLGMsQuic"
|
||||||
BeforeTargets="Link"
|
BeforeTargets="Link"
|
||||||
DependsOnTargets="ConfigureLGMsQuic">
|
DependsOnTargets="ConfigureLGMsQuic">
|
||||||
<Exec
|
<Exec
|
||||||
Command="cmake --build "$(LGMsQuicBuildDir)" --config "$(LGBaseConfiguration)" --target msquic_lib --parallel" />
|
Command="cmake --build "$(LGMsQuicBuildDir)." --config "$(LGBaseConfiguration)" --target msquic_lib --parallel" />
|
||||||
<Error
|
<Error
|
||||||
Condition="!Exists('$(LGMsQuicLibrary)')"
|
Condition="!Exists('$(LGMsQuicLibrary)')"
|
||||||
Text="The static MsQuic build did not produce $(LGMsQuicLibrary)." />
|
Text="The static MsQuic build did not produce $(LGMsQuicLibrary)." />
|
||||||
|
|||||||
Reference in New Issue
Block a user