This repository has been archived by the owner on Mar 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding the build.msbuild file to enable building and running tests from command line (now) and building the NuGet package (soon). Renaming signalrclient.build.settings -> SignalRClient.Build.Settings to follow MSBuild conventions.
- Loading branch information
moozzyk
committed
Jan 9, 2015
1 parent
dc65b8c
commit e236ac7
Showing
9 changed files
with
57 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildThisFileDirectory)..\</SolutionDir> | ||
<Configuration Condition="'$(Configuration)'==''">Debug</Configuration> | ||
<Platform Condition="'$(Platform)'==''">Win32</Platform> | ||
<PlatformToolset Condition=" '$(PlatformToolset)' == ''">v120</PlatformToolset> | ||
<OutputPath Condition="'$(OutputPath)' == ''">$(SolutionDir)bin\$(Platform)\$(Configuration)\</OutputPath> | ||
<OutDir>$(OutputPath)</OutDir> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildThisFileDirectory)\Common.Build.Settings" /> | ||
|
||
<ItemGroup> | ||
<Projects Include="$(SolutionDir)src\signalrclient\Build\VS2013\signalrclient.vcxproj" /> | ||
<Projects Include="$(SolutionDir)src\signalrclientdll\Build\VS2013\signalrclientdll.vcxproj" /> | ||
<Projects Include="$(SolutionDir)test\signalrclienttests\Build\VS2013\signalrclienttests.vcxproj" /> | ||
</ItemGroup> | ||
|
||
<Import Project="$(SolutionDir)\.nuget\nuget.targets" /> | ||
|
||
<Target Name="Build"> | ||
<MSBuild Targets="$(BuildTargets)" | ||
Projects="@(Projects)" | ||
Properties="Configuration=$(Configuration);Platform=$(Platform);PlatformToolset=$(PlatformToolset)" /> | ||
</Target> | ||
|
||
<Target Name="Clean"> | ||
<MSBuild Targets="Clean" | ||
Projects="@(Projects)" /> | ||
</Target> | ||
|
||
<Target Name="Rebuild"> | ||
<MSBuild Projects="$(MSBuildProjectFile)" Properties="BuildTargets=Rebuild;Configuration=$(Configuration)" Targets="Clean;Build" /> | ||
</Target> | ||
|
||
<Target Name="Test" DependsOnTargets="Build"> | ||
<Exec Command="$(OutDir)\signalrclienttests.exe" /> | ||
</Target> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
msbuild "%~dp0\Build\build.msbuild" /v:minimal /maxcpucount /nodeReuse:false %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/signalrclienttests/Build/VS2013/signalrclienttests.vcxproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters