diff options
author | Jiyoung Yun <jy910.yun@samsung.com> | 2016-11-23 19:09:09 +0900 |
---|---|---|
committer | Jiyoung Yun <jy910.yun@samsung.com> | 2016-11-23 19:09:09 +0900 |
commit | 4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch) | |
tree | 98110734c91668dfdbb126fcc0e15ddbd93738ca /dir.traversal.targets | |
parent | fa45f57ed55137c75ac870356a1b8f76c84b229c (diff) | |
download | coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2 coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip |
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'dir.traversal.targets')
-rw-r--r-- | dir.traversal.targets | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dir.traversal.targets b/dir.traversal.targets new file mode 100644 index 0000000000..fd8fb93d31 --- /dev/null +++ b/dir.traversal.targets @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build"> + <Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" /> + + <Target Name="Build"> + <!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity + however since the project names are unique it will essentially force each to run in its own batch --> + <MSBuild Targets="Build" Projects="@(Project)" Condition="'$(SerializeProjects)'=='true'" Properties="Dummy=%(Identity)"/> + <MSBuild Targets="Build" Projects="@(Project)" Condition="'$(SerializeProjects)'!='true'" BuildInParallel="true" /> + </Target> + + <Target Name="Clean"> + <!-- To Serialize we use msbuild's batching functionality '%' to force it to batch all similar projects with the same identity + however since the project names are unique it will essentially force each to run in its own batch --> + <MSBuild Targets="Clean" Projects="@(Project)" Condition="'$(SerializeProjects)'=='true'" Properties="Dummy=%(Identity)"/> + <MSBuild Targets="Clean" Projects="@(Project)" Condition="'$(SerializeProjects)'!='true'" BuildInParallel="true" /> + </Target> + + <Target Name="Rebuild" DependsOnTargets="Clean;Build" /> + +</Project>
\ No newline at end of file |