rollback XccVcpkgDir duplicated path for dev / CI compatibility .

This commit is contained in:
Zero Fanker 2025-08-01 10:37:28 -04:00
parent 9e08f380f5
commit d6317ff86b
5 changed files with 10 additions and 7 deletions

View file

@ -66,9 +66,10 @@ jobs:
--triplet "x64-windows" `
--vcpkg-root $vcpkgPath `
--x-manifest-root="$PWD\" `
--x-install-root="$PWD\vcpkg_installed\"
--x-install-root="$PWD\vcpkg_installed\x64-windows"
ls
ls vcpkg_installed/x64-windows
ls vcpkg_installed/x64-windows/x64-windows
- name: build-msvc
run: |
devenv.com "MissionEditor.sln" /Build "${{ env.CONFIGURATION }}|x64" /project MissionEditor

View file

@ -51,10 +51,10 @@ jobs:
--triplet "x64-windows" `
--vcpkg-root $vcpkgPath `
--x-manifest-root="$PWD\" `
--x-install-root="$PWD\vcpkg_installed\"
--x-install-root="$PWD\vcpkg_installed\x64-windows"
ls
ls vcpkg_installed/x64-windows
ls vcpkg_installed/x64-windows/include
ls vcpkg_installed/x64-windows/x64-windows
ls vcpkg_installed/x64-windows/x64-windows/include
- name: Build Main Program (MSVC)
run: |
devenv.com "MissionEditor.sln" /Build "${{ env.CONFIGURATION }}|x64" /project MissionEditor

View file

@ -7,7 +7,7 @@
<DisableFastUpToDateCheck>True</DisableFastUpToDateCheck>
</PropertyGroup>
<PropertyGroup>
<XccDir>$(MSBuildThisFileDirectory)..\..\3rdParty\xcc</XccDir>
<XccDir>$(SolutionDir)\3rdParty\xcc</XccDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>

View file

@ -4,7 +4,8 @@
<Import Project="$(MSBuildThisFileDirectory)/Common.props" />
</ImportGroup>
<PropertyGroup>
<XccVcpkgDirTriplet>$(XccDir)\vcpkg_installed\$(Platform)-windows</XccVcpkgDirTriplet>
<!-- Why duplicated 'x64-windows' ? Because it is how vcpkg automatically does, shitty -->
<XccVcpkgDirTriplet>$(XccDir)\vcpkg_installed\$(Platform)-windows\$(Platform)-windows</XccVcpkgDirTriplet>
<XccVcpkgDir>$(XccVcpkgDirTriplet)\debug</XccVcpkgDir>
<VxlLibDir>$(SolutionDir)$(Platform)\Debug</VxlLibDir>
<SchemaType>Debug</SchemaType>

View file

@ -4,7 +4,8 @@
<Import Project="$(MSBuildThisFileDirectory)/Common.props" />
</ImportGroup>
<PropertyGroup>
<XccVcpkgDirTriplet>$(XccDir)\vcpkg_installed\$(Platform)-windows</XccVcpkgDirTriplet>
<!-- Why duplicated 'x64-windows' ? Because it is how vcpkg automatically does, shitty -->
<XccVcpkgDirTriplet>$(XccDir)\vcpkg_installed\$(Platform)-windows\$(Platform)-windows</XccVcpkgDirTriplet>
<XccVcpkgDir>$(XccVcpkgDirTriplet)</XccVcpkgDir>
<VxlLibDir>$(SolutionDir)$(Platform)\Release</VxlLibDir>
<SchemaType>Release</SchemaType>