Skip to content

Commit

Permalink
vcpkg.exeのパス修正
Browse files Browse the repository at this point in the history
  • Loading branch information
berryzplus committed Jun 18, 2024
1 parent c8af473 commit 24be3d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions build-sln.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ if "%configuration%" == "Release" (
call :showhelp %0
exit /b 1
)

set path=%path%;%VCPKG_INSTALLATION_ROOT%

vcpkg.exe integrate install

if not defined CMD_MSBUILD call %~dp0tools\find-tools.bat
if not defined CMD_MSBUILD (
echo msbuild.exe was not found.
Expand Down
3 changes: 2 additions & 1 deletion sakura/funccode.targets
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<VcpkgUseStatic>true</VcpkgUseStatic>
</PropertyGroup>
<PropertyGroup Label="FuncCode">
<ExecutablePath Condition="'$(VcpkgRoot)'!=''">$(VcpkgRoot);$(ExecutablePath)</ExecutablePath>
<HeaderMake>$(VcpkgInstalledDir)$(VcpkgTriplet)\tools\header-make\HeaderMake.exe</HeaderMake>
<FuncCodeDefine>..\sakura_core\Funccode_define.h</FuncCodeDefine>
<FuncCodeEnum>..\sakura_core\Funccode_enum.h</FuncCodeEnum>
Expand All @@ -17,7 +18,7 @@
Condition="!Exists('$(HeaderMake)')"
AfterTargets="GenerateGitHash"
BeforeTargets="FuncCodeDefine;FuncCodeEnum">
<Exec Command="chcp 65001 &gt;NUL &amp;&amp; $(VcpkgRoot)\vcpkg.exe install --x-wait-for-lock --triplet &quot;$(VcpkgTriplet)&quot; --vcpkg-root &quot;$(VcpkgRoot)&quot; &quot;--x-manifest-root=$(VcpkgManifestDirectory.TrimEnd('\'))&quot; &quot;--x-install-root=$(VcpkgInstalledDir.TrimEnd('\'))&quot;" StdOutEncoding="UTF-8" StdErrEncoding="UTF-8" WorkingDirectory="$(MSBuildThisFileDirectory).." />
<Exec Command="chcp 65001 &gt;NUL &amp;&amp; vcpkg.exe install --x-wait-for-lock --triplet &quot;$(VcpkgTriplet)&quot; --vcpkg-root &quot;$(VcpkgRoot)&quot; &quot;--x-manifest-root=$(VcpkgManifestDirectory.TrimEnd('\'))&quot; &quot;--x-install-root=$(VcpkgInstalledDir.TrimEnd('\'))&quot;" StdOutEncoding="UTF-8" StdErrEncoding="UTF-8" WorkingDirectory="$(MSBuildThisFileDirectory).." />
</Target>
<Target Name="_WriteFuncCodeDefineRcTlogs"
Condition="'@(FuncCodeRes)' != '' and '@(SelectedFiles)' == ''">
Expand Down

0 comments on commit 24be3d3

Please sign in to comment.