зеркало из https://github.com/microsoft/IPC.Bond.git
Upgrade to vc142 and Boost 1.71 (#12)
This commit is contained in:
Родитель
f42010fb35
Коммит
9250fde492
2
IPC
2
IPC
|
@ -1 +1 @@
|
|||
Subproject commit 1f34d78408cd68e234305682a96f60ec5dd535af
|
||||
Subproject commit c60cc7138a0b2d9586b041d087cc6666bdc7ba5b
|
|
@ -37,11 +37,11 @@
|
|||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup>
|
||||
|
@ -64,11 +64,11 @@
|
|||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Import Project="..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets" Condition="Exists('..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets" Condition="Exists('..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="boost" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost" version="1.71.0.0" targetFramework="native" />
|
||||
</packages>
|
|
@ -21,12 +21,12 @@
|
|||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<WholeProgramOptimization>false</WholeProgramOptimization>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup>
|
||||
|
@ -50,6 +50,7 @@
|
|||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DisableSpecificWarnings>4494;%(DisableSpecificWarnings)</DisableSpecificWarnings>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
@ -91,13 +92,13 @@
|
|||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Import Project="..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets" Condition="Exists('..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets" Condition="Exists('..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_date_time-vc140.1.63.0.0\build\native\boost_date_time-vc140.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_date_time-vc140.1.63.0.0\build\native\boost_date_time-vc140.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_date_time-vc142.1.71.0.0\build\boost_date_time-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_date_time-vc142.1.71.0.0\build\boost_date_time-vc142.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\..\IPC\Packages\boost_date_time-vc140.1.63.0.0\build\native\boost_date_time-vc140.targets" Condition="Exists('..\..\IPC\Packages\boost_date_time-vc140.1.63.0.0\build\native\boost_date_time-vc140.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_date_time-vc142.1.71.0.0\build\boost_date_time-vc142.targets" Condition="Exists('..\..\IPC\Packages\boost_date_time-vc142.1.71.0.0\build\boost_date_time-vc142.targets')" />
|
||||
</Project>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="boost" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost_date_time-vc140" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost" version="1.71.0.0" targetFramework="native" />
|
||||
<package id="boost_date_time-vc142" version="1.71.0.0" targetFramework="native" />
|
||||
</packages>
|
|
@ -47,11 +47,11 @@
|
|||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup>
|
||||
|
@ -72,11 +72,11 @@
|
|||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<Import Project="..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets" Condition="Exists('..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets" Condition="Exists('..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="boost" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost" version="1.71.0.0" targetFramework="native" />
|
||||
</packages>
|
|
@ -6,7 +6,7 @@ IPC.Bond is an extension of [IPC](https://github.com/Microsoft/IPC) library that
|
|||
|
||||
# Build
|
||||
|
||||
The library is developed and maintained with [Visual Studio 2015](https://msdn.microsoft.com/en-us/library/dd831853.aspx).
|
||||
The library is developed and maintained with [Visual Studio 2019](https://docs.microsoft.com/en-us/visualstudio/windows/?view=vs-2019).
|
||||
In order to build the library you will need to do the following:
|
||||
1. Restore NuGet packages for [IPC.Bond.sln](https://github.com/Microsoft/IPC.Bond/blob/master/IPC.Bond.sln).
|
||||
2. Build the [Bond](https://github.com/Microsoft/bond) (only core C++) submodule using helper [bond.cmd](https://github.com/Microsoft/IPC.Bond/blob/master/bond.cmd) script.
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<PropertyGroup>
|
||||
|
@ -74,21 +74,21 @@
|
|||
<ItemGroup>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets" Condition="Exists('..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets" Condition="Exists('..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost.1.63.0.0\build\native\boost.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_unit_test_framework-vc140.1.63.0.0\build\native\boost_unit_test_framework-vc140.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_unit_test_framework-vc140.1.63.0.0\build\native\boost_unit_test_framework-vc140.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_date_time-vc140.1.63.0.0\build\native\boost_date_time-vc140.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_date_time-vc140.1.63.0.0\build\native\boost_date_time-vc140.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_locale-vc140.1.63.0.0\build\native\boost_locale-vc140.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_locale-vc140.1.63.0.0\build\native\boost_locale-vc140.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_thread-vc140.1.63.0.0\build\native\boost_thread-vc140.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_thread-vc140.1.63.0.0\build\native\boost_thread-vc140.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_system-vc140.1.63.0.0\build\native\boost_system-vc140.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_system-vc140.1.63.0.0\build\native\boost_system-vc140.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost.1.71.0.0\build\boost.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_unit_test_framework-vc142.1.71.0.0\build\boost_unit_test_framework-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_unit_test_framework-vc142.1.71.0.0\build\boost_unit_test_framework-vc142.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_locale-vc142.1.71.0.0\build\boost_locale-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_locale-vc142.1.71.0.0\build\boost_locale-vc142.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_thread-vc142.1.71.0.0\build\boost_thread-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_thread-vc142.1.71.0.0\build\boost_thread-vc142.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_date_time-vc142.1.71.0.0\build\boost_date_time-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_date_time-vc142.1.71.0.0\build\boost_date_time-vc142.targets'))" />
|
||||
<Error Condition="!Exists('..\..\IPC\Packages\boost_system-vc142.1.71.0.0\build\boost_system-vc142.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\IPC\Packages\boost_system-vc142.1.71.0.0\build\boost_system-vc142.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\..\IPC\Packages\boost_unit_test_framework-vc140.1.63.0.0\build\native\boost_unit_test_framework-vc140.targets" Condition="Exists('..\..\IPC\Packages\boost_unit_test_framework-vc140.1.63.0.0\build\native\boost_unit_test_framework-vc140.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_date_time-vc140.1.63.0.0\build\native\boost_date_time-vc140.targets" Condition="Exists('..\..\IPC\Packages\boost_date_time-vc140.1.63.0.0\build\native\boost_date_time-vc140.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_locale-vc140.1.63.0.0\build\native\boost_locale-vc140.targets" Condition="Exists('..\..\IPC\Packages\boost_locale-vc140.1.63.0.0\build\native\boost_locale-vc140.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_thread-vc140.1.63.0.0\build\native\boost_thread-vc140.targets" Condition="Exists('..\..\IPC\Packages\boost_thread-vc140.1.63.0.0\build\native\boost_thread-vc140.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_system-vc140.1.63.0.0\build\native\boost_system-vc140.targets" Condition="Exists('..\..\IPC\Packages\boost_system-vc140.1.63.0.0\build\native\boost_system-vc140.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_unit_test_framework-vc142.1.71.0.0\build\boost_unit_test_framework-vc142.targets" Condition="Exists('..\..\IPC\Packages\boost_unit_test_framework-vc142.1.71.0.0\build\boost_unit_test_framework-vc142.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_locale-vc142.1.71.0.0\build\boost_locale-vc142.targets" Condition="Exists('..\..\IPC\Packages\boost_locale-vc142.1.71.0.0\build\boost_locale-vc142.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_thread-vc142.1.71.0.0\build\boost_thread-vc142.targets" Condition="Exists('..\..\IPC\Packages\boost_thread-vc142.1.71.0.0\build\boost_thread-vc142.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_date_time-vc142.1.71.0.0\build\boost_date_time-vc142.targets" Condition="Exists('..\..\IPC\Packages\boost_date_time-vc142.1.71.0.0\build\boost_date_time-vc142.targets')" />
|
||||
<Import Project="..\..\IPC\Packages\boost_system-vc142.1.71.0.0\build\boost_system-vc142.targets" Condition="Exists('..\..\IPC\Packages\boost_system-vc142.1.71.0.0\build\boost_system-vc142.targets')" />
|
||||
</Project>
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="boost" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost_date_time-vc140" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost_locale-vc140" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost_system-vc140" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost_thread-vc140" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost_unit_test_framework-vc140" version="1.63.0.0" targetFramework="native" />
|
||||
<package id="boost" version="1.71.0.0" targetFramework="native" />
|
||||
<package id="boost_date_time-vc142" version="1.71.0.0" targetFramework="native" />
|
||||
<package id="boost_locale-vc142" version="1.71.0.0" targetFramework="native" />
|
||||
<package id="boost_system-vc142" version="1.71.0.0" targetFramework="native" />
|
||||
<package id="boost_thread-vc142" version="1.71.0.0" targetFramework="native" />
|
||||
<package id="boost_unit_test_framework-vc142" version="1.71.0.0" targetFramework="native" />
|
||||
</packages>
|
|
@ -1,5 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\IPC\Packages\NUnit.3.12.0\build\NUnit.props" Condition="Exists('..\IPC\Packages\NUnit.3.12.0\build\NUnit.props')" />
|
||||
<PropertyGroup>
|
||||
<ProjectGuid>{BDFCB3AD-21A8-446E-840B-68718C49E7D4}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
|
@ -10,6 +11,8 @@
|
|||
<AssemblyClsCompliant>false</AssemblyClsCompliant>
|
||||
<PlatformTarget>x64</PlatformTarget>
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
||||
<OutputPath>..\x64\Debug\</OutputPath>
|
||||
|
@ -36,15 +39,15 @@
|
|||
<Reference Include="Bond.Attributes">
|
||||
<HintPath>..\IPC\Packages\Bond.Core.CSharp.6.0.0\lib\net45\Bond.Attributes.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nunit.framework">
|
||||
<HintPath>..\IPC\Packages\NUnit.3.6.1\lib\net45\nunit.framework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="IPC.Managed">
|
||||
<HintPath>..\IPC\$(Platform)\$(Configuration)\IPC.Managed.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="IPC.Managed.Transport">
|
||||
<HintPath>..\IPC\$(Platform)\$(Configuration)\IPC.Managed.Transport.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nunit.framework, Version=3.12.0.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
|
||||
<HintPath>..\IPC\Packages\NUnit.3.12.0\lib\net45\nunit.framework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
</ItemGroup>
|
||||
|
@ -74,4 +77,10 @@
|
|||
<PropertyGroup>
|
||||
<PreBuildEvent>$(SolutionDir)\IPC\packages\Bond.Compiler.6.0.0\tools\gbc.exe c# -o=$(MSBuildProjectDirectory)\generated $(MSBuildProjectDirectory)\Test.bond</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\IPC\Packages\NUnit.3.12.0\build\NUnit.props')" Text="$([System.String]::Format('$(ErrorText)', '..\IPC\Packages\NUnit.3.12.0\build\NUnit.props'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -2,5 +2,5 @@
|
|||
<packages>
|
||||
<package id="Bond.Compiler" version="6.0.0" targetFramework="net46" />
|
||||
<package id="Bond.Core.CSharp" version="6.0.0" targetFramework="net46" />
|
||||
<package id="NUnit" version="3.6.1" targetFramework="net46" />
|
||||
<package id="NUnit" version="3.12.0" targetFramework="net46" />
|
||||
</packages>
|
|
@ -1,6 +1,6 @@
|
|||
version: 1.0.{build}
|
||||
|
||||
image: Visual Studio 2015
|
||||
image: Visual Studio 2019
|
||||
|
||||
cache:
|
||||
- IPC\packages -> **\packages.config
|
||||
|
|
6
bond.cmd
6
bond.cmd
|
@ -4,14 +4,14 @@
|
|||
@if "%~2"=="" (set cmake_args=) else (set cmake_args=-- /logger:%2)
|
||||
|
||||
@set PreferredToolArchitecture=x64
|
||||
@set BOOST_ROOT=%CD%\IPC\packages\boost.1.63.0.0\lib\native\include
|
||||
@set BOOST_LIBRARYDIR=%CD%\IPC\packages\boost.1.63.0.0
|
||||
@set BOOST_ROOT=%CD%\IPC\packages\boost.1.71.0.0\lib\native\include
|
||||
@set BOOST_LIBRARYDIR=%CD%\IPC\packages\boost.1.71.0.0
|
||||
@set BOND_GBC_PATH=%CD%\IPC\packages\Bond.Compiler.6.0.0\tools
|
||||
|
||||
@mkdir bond\build\target\%config%
|
||||
@pushd bond\build
|
||||
|
||||
@cmake -G "Visual Studio 14 2015 Win64" -DBOND_LIBRARIES_ONLY=ON -DBOND_ENABLE_COMM=FALSE -DBOND_ENABLE_GRPC=FALSE -DCMAKE_INSTALL_PREFIX=%CD%\target\%config% ..
|
||||
@cmake -G "Visual Studio 16 2019" -A x64 -DBOND_LIBRARIES_ONLY=ON -DBOND_ENABLE_COMM=FALSE -DBOND_ENABLE_GRPC=FALSE -DCMAKE_INSTALL_PREFIX=%CD%\target\%config% ..
|
||||
@cmake --build . --config %config% --target %cmake_args%
|
||||
@cmake --build . --config %config% --target INSTALL %cmake_args%
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче