[tasque/xbuild] [xbuild] Created Tasque.CSharp.targets file
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/xbuild] [xbuild] Created Tasque.CSharp.targets file
- Date: Tue, 18 Sep 2012 14:46:56 +0000 (UTC)
commit 4aafe04ad047b2efd9a6c5a4b1cf75f88edd0166
Author: Antonius Riha <antoniusriha gmail com>
Date: Tue Sep 18 15:16:04 2012 +0200
[xbuild] Created Tasque.CSharp.targets file
This provides the following services:
* Prepends SrcDir prefix to source file paths
* Tweak ChildProjectReferences ItemGroup so that all build
dependencies can be found.
* Add bin output files to TasqueCleanFile.
build/Tasque.CSharp.targets | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/build/Tasque.CSharp.targets b/build/Tasque.CSharp.targets
new file mode 100644
index 0000000..2f5c734
--- /dev/null
+++ b/build/Tasque.CSharp.targets
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="Tasque.targets" />
+
+ <!-- Build -->
+ <Target Name="BeforeTasqueBuild">
+ <CreateItem Include="$(SrcDir)\%(TasqueCompile.RelativeDir)%(FileName)%(Extension)">
+ <Output TaskParameter="Include" ItemName="Compile" />
+ </CreateItem>
+ <CreateItem Condition=" '@(ProjectReference)' != '' " Include="%(ProjectReference.RelativeDir)\*.dll" >
+ <Output TaskParameter="Include" ItemName="ChildProjectReferences" />
+ </CreateItem>
+ </Target>
+
+ <!-- Clean -->
+ <Target Name="BeforeTasqueClean">
+ <CreateItem Include="*.dll;*.mdb;*.exe">
+ <Output TaskParameter="Include" ItemName="TasqueCleanFile" />
+ </CreateItem>
+ </Target>
+</Project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]