Fix/overlay refactor mismatch (#101)

* fixed overlay encoding result differs from original .
* some type adjustments to silence compile warning, UT case added .
* escape Chinese comments .
* added compile dependency of UT on MissionPackLib .
This commit is contained in:
Zero Fanker 2024-11-02 18:11:58 -04:00 committed by GitHub
parent 87d35212f7
commit 9b24232f2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 214 additions and 76 deletions

View file

@ -7,6 +7,7 @@
<XccVcpkgDirTriplet>$(XccDir)\vcpkg_installed\$(Platform)-windows\$(Platform)-windows</XccVcpkgDirTriplet>
<XccVcpkgDir>$(XccVcpkgDirTriplet)\debug</XccVcpkgDir>
<VxlLibDir>$(SolutionDir)$(Platform)\Debug</VxlLibDir>
<SchemaType>Debug</SchemaType>
</PropertyGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />

View file

@ -5,7 +5,8 @@
</PropertyGroup>
<PropertyGroup>
<DistributionFolder>$(MSBuildThisFileDirectory)\..\..\dist\$(DistributionName)</DistributionFolder>
<OutDir>$(DistributionFolder)\</OutDir>
<OutDir>$(DistributionFolder)\</OutDir>
<TestOutDir>$(MSBuildThisFileDirectory)\..\..\$(Platform)\$(SchemaType)</TestOutDir>
</PropertyGroup>
<ItemGroup>
<!--<XccVcpkgLic Include="$(XccVcpkgDirTriplet)\share\boost-config\copyright"><Dest>boost\license.txt</Dest></XccVcpkgLic>-->
@ -30,6 +31,9 @@
<Target Name="CopyDllFiles" AfterTargets="Build" BeforeTargets="BuildAndZipDistribution">
<Copy SourceFiles="@(XccVcpkgBin)" DestinationFolder="$(OutDir)" />
</Target>
<Target Name="CopyDllFilesForUT" AfterTargets="Build" BeforeTargets="BuildAndZipDistribution">
<Copy SourceFiles="@(XccVcpkgBin)" DestinationFolder="$(TestOutDir)" />
</Target>
<Target Name="CopyVxlLibDll" AfterTargets="Build" BeforeTargets="BuildAndZipDistribution">
<Copy SourceFiles="@(VxlLibBin)" DestinationFolder="$(OutDir)" />
</Target>

View file

@ -7,6 +7,7 @@
<XccVcpkgDirTriplet>$(XccDir)\vcpkg_installed\$(Platform)-windows\$(Platform)-windows</XccVcpkgDirTriplet>
<XccVcpkgDir>$(XccVcpkgDirTriplet)</XccVcpkgDir>
<VxlLibDir>$(SolutionDir)$(Platform)\Release</VxlLibDir>
<SchemaType>Release</SchemaType>
</PropertyGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup />