mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 03:49:06 +08:00
[vcpkg] Do not build tests when running scripts\bootstrap.ps1.
This commit is contained in:
parent
3d1b72ea05
commit
d04e78815a
@ -26,7 +26,7 @@ try{
|
||||
$msbuildExeWithPlatformToolset = & $scriptsDir\findAnyMSBuildWithCppPlatformToolset.ps1
|
||||
$msbuildExe = $msbuildExeWithPlatformToolset[0]
|
||||
$platformToolset = $msbuildExeWithPlatformToolset[1]
|
||||
& $msbuildExe "/p:VCPKG_VERSION=-$gitHash" "/p:DISABLE_METRICS=$disableMetrics" /p:Configuration=Release /p:Platform=x86 /p:PlatformToolset=$platformToolset /m
|
||||
& $msbuildExe "/p:VCPKG_VERSION=-$gitHash" "/p:DISABLE_METRICS=$disableMetrics" /p:Configuration=Release /p:Platform=x86 /p:PlatformToolset=$platformToolset /m dirs.proj
|
||||
|
||||
Write-Verbose("Placing vcpkg.exe in the correct location")
|
||||
|
||||
|
22
toolsrc/dirs.proj
Normal file
22
toolsrc/dirs.proj
Normal file
@ -0,0 +1,22 @@
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectFile Include="vcpkg\vcpkg.vcxproj"/>
|
||||
<ProjectFile Include="vcpkglib\vcpkglib.vcxproj"/>
|
||||
<ProjectFile Include="vcpkgcommon\vcpkgcommon.vcxproj"/>
|
||||
<ProjectFile Include="vcpkgmetrics\vcpkgmetrics.vcxproj"/>
|
||||
<ProjectFile Include="vcpkgmetricsuploader\vcpkgmetricsuploader.vcxproj"/>
|
||||
</ItemGroup>
|
||||
|
||||
<Target Name="Rebuild" DependsOnTargets="Clean;Build" />
|
||||
|
||||
<Target Name="Build">
|
||||
<MSBuild Projects="@(ProjectFile)" Properties="SolutionDir=$(SolutionDir)" Targets="Build"/>
|
||||
</Target>
|
||||
|
||||
<Target Name="Clean">
|
||||
<MSBuild Projects="@(ProjectFile)" Properties="SolutionDir=$(SolutionDir)" Targets="Clean"/>
|
||||
</Target>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user