[tasque/xbuild] [build] Switch RtmNet build to xbuild



commit 6a67416735fc03b00d9e398a4fe89cd7660e7c05
Author: Antonius Riha <antoniusriha gmail com>
Date:   Wed Sep 5 16:40:20 2012 +0200

    [build] Switch RtmNet build to xbuild

 .gitignore                         |    3 +
 configure.ac                       |    7 +++
 src/Libraries/RtmNet/Makefile.am   |   51 ------------------------
 src/Libraries/RtmNet/Makefile.in   |   43 ++++++++++++++++++++
 src/Libraries/RtmNet/RtmNet.csproj |   75 +++++++++++++++--------------------
 5 files changed, 85 insertions(+), 94 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f06b6f8..db8cc6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -104,6 +104,9 @@ Makefile.in
 # /src/Libraries/RtmNet
 /src/Libraries/RtmNet/*.dll
 /src/Libraries/RtmNet/*.mdb
+/src/Libraries/RtmNet/RtmNet.csp
+/src/Libraries/RtmNet/obj/
+!/src/Libraries/RtmNet/Makefile.in
 
 # /build/
 /build/*.dll
diff --git a/configure.ac b/configure.ac
index d959bfa..68730b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -286,11 +286,18 @@ AC_SUBST(LIBTASQUECSPROJ)
 GTKTASQUECSPROJ=Gtk.Tasque.csp
 AC_SUBST(GTKTASQUECSPROJ)
 
+#
+# Setup RtmNet.csproj
+#
+RTMNETCSPROJ=RtmNet.csp
+AC_SUBST(RTMNETCSPROJ)
+
 AC_CONFIG_FILES([
 Makefile
 build/Tasque.CSharp.targets:build/Tasque.CSharp.targets
 src/Makefile
 src/Libraries/RtmNet/Makefile
+src/Libraries/RtmNet/${RTMNETCSPROJ}:src/Libraries/RtmNet/RtmNet.csproj
 src/libtasque/Makefile
 src/libtasque/${LIBTASQUECSPROJ}:src/libtasque/libtasque.csproj
 src/Gtk.Tasque/Makefile
diff --git a/src/Libraries/RtmNet/Makefile.in b/src/Libraries/RtmNet/Makefile.in
new file mode 100644
index 0000000..23bfce4
--- /dev/null
+++ b/src/Libraries/RtmNet/Makefile.in
@@ -0,0 +1,43 @@
+PACKAGE = @PACKAGE@
+VERSION = @VERSION@
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+libdir = @libdir@/tasque
+
+XBUILD = @XBUILD@
+
+RTMNETCSPROJ = @RTMNETCSPROJ@
+
+conf=$(shell if test "x enable_debug@" != "xno" ; then echo "Debug" ; else echo "Release" ; fi)
+
+PROPERTIES = \
+	/property:Configuration=$(conf) \
+	/property:SrcDir=$(srcdir) \
+	/property:Prefix=$(prefix) \
+	/property:LibDir=$(libdir) \
+	/property:DestDir=$(DESTDIR) \
+	/property:DistDir=../../../$(PACKAGE)-$(VERSION)/src/Libraries/RtmNet
+
+all:
+	$(XBUILD) $(PROPERTIES) $(RTMNETCSPROJ)
+
+clean:
+	$(XBUILD) $(PROPERTIES) /target:clean $(RTMNETCSPROJ)
+
+install:
+	$(XBUILD) $(PROPERTIES) /target:install $(RTMNETCSPROJ)
+
+uninstall:
+	$(XBUILD) $(PROPERTIES) /target:uninstall $(RTMNETCSPROJ)
+
+dist distdir:
+	$(XBUILD) $(PROPERTIES) /target:dist $(RTMNETCSPROJ)
+
+distclean:
+	$(XBUILD) $(PROPERTIES) /target:distclean $(RTMNETCSPROJ)
+
+dvi installcheck check:
diff --git a/src/Libraries/RtmNet/RtmNet.csproj b/src/Libraries/RtmNet/RtmNet.csproj
index 7fb3222..6c9550b 100644
--- a/src/Libraries/RtmNet/RtmNet.csproj
+++ b/src/Libraries/RtmNet/RtmNet.csproj
@@ -4,73 +4,62 @@
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
     <ProjectGuid>{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}</ProjectGuid>
-    <ProductVersion>9.0.21022</ProductVersion>
+    <ProductVersion>10.0.0</ProductVersion>
     <SchemaVersion>2.0</SchemaVersion>
     <OutputType>Library</OutputType>
-    <NoStandardLibraries>false</NoStandardLibraries>
+    <OutputPath>.</OutputPath>
     <AssemblyName>RtmNet</AssemblyName>
-    <FileAlignment>512</FileAlignment>
     <RootNamespace>RtmNet</RootNamespace>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
     <DebugSymbols>true</DebugSymbols>
     <DebugType>full</DebugType>
     <Optimize>false</Optimize>
-    <OutputPath>bin\Debug\</OutputPath>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
-    <CustomCommands>
-      <CustomCommands>
-        <Command type="Build" command="echo &quot;&quot;" />
-      </CustomCommands>
-    </CustomCommands>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
+    <DebugType>none</DebugType>
     <Optimize>true</Optimize>
-    <OutputPath>bin\Release\</OutputPath>
     <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
   </PropertyGroup>
-  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <Import Project="..\..\..\build\Tasque.CSharp.targets" />
   <ItemGroup>
     <Reference Include="System" />
-    <Reference Include="System.Web" />
     <Reference Include="System.Xml" />
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="ApiKeyRequiredException.cs" />
-    <Compile Include="AssemblyInfo.cs" />
-    <Compile Include="Auth.cs" />
-    <Compile Include="AuthenticationRequiredException.cs" />
-    <Compile Include="Categories.cs" />
-    <Compile Include="Contacts.cs" />
-    <Compile Include="DateGranularity.cs" />
-    <Compile Include="Enums.cs" />
-    <Compile Include="Groups.cs" />
-    <Compile Include="GroupSearchResults.cs" />
-    <Compile Include="List.cs" />
-    <Compile Include="Methods.cs" />
-    <Compile Include="Note.cs" />
-    <Compile Include="Response.cs" />
-    <Compile Include="ResponseXmlException.cs" />
-    <Compile Include="Rtm.cs" />
-    <Compile Include="RtmApiException.cs" />
-    <Compile Include="RtmException.cs" />
-    <Compile Include="RtmWebException.cs" />
-    <Compile Include="SignatureRequiredException.cs" />
-    <Compile Include="Tags.cs" />
-    <Compile Include="Task.cs" />
-    <Compile Include="User.cs" />
-    <Compile Include="Utils.cs" />
+    <TasqueCompile Include="ApiKeyRequiredException.cs" />
+    <TasqueCompile Include="AssemblyInfo.cs" />
+    <TasqueCompile Include="Auth.cs" />
+    <TasqueCompile Include="AuthenticationRequiredException.cs" />
+    <TasqueCompile Include="Categories.cs" />
+    <TasqueCompile Include="Contacts.cs" />
+    <TasqueCompile Include="DateGranularity.cs" />
+    <TasqueCompile Include="Enums.cs" />
+    <TasqueCompile Include="Groups.cs" />
+    <TasqueCompile Include="GroupSearchResults.cs" />
+    <TasqueCompile Include="HttpUtility.cs" />
+    <TasqueCompile Include="List.cs" />
+    <TasqueCompile Include="Methods.cs" />
+    <TasqueCompile Include="Note.cs" />
+    <TasqueCompile Include="Response.cs" />
+    <TasqueCompile Include="ResponseXmlException.cs" />
+    <TasqueCompile Include="Rtm.cs" />
+    <TasqueCompile Include="RtmApiException.cs" />
+    <TasqueCompile Include="RtmException.cs" />
+    <TasqueCompile Include="RtmWebException.cs" />
+    <TasqueCompile Include="SignatureRequiredException.cs" />
+    <TasqueCompile Include="Tags.cs" />
+    <TasqueCompile Include="Task.cs" />
+    <TasqueCompile Include="User.cs" />
+    <TasqueCompile Include="Utils.cs" />
   </ItemGroup>
   <ItemGroup>
-    <Content Include="License.txt" />
+    <DistFile Include="License.txt" />
   </ItemGroup>
   <ItemGroup>
     <None Include="example_app.config" />
-    <None Include="Makefile.am" />
   </ItemGroup>
 </Project>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]