Update of /cvsroot/pgsqlclient/pgsqlclient_10
In directory sc8-pr-cvs1:/tmp/cvs-serv6681
Modified Files:
PgSqlClient.build
Log Message:
Continue rework of build system for Windows
Index: PgSqlClient.build
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PgSqlClient.build,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** PgSqlClient.build 30 Sep 2003 19:54:35 -0000 1.4
--- PgSqlClient.build 1 Oct 2003 10:32:37 -0000 1.5
***************
*** 115,127 ****
<property name="nant.settings.currentframework" value="mono-1.0" />
<echo message="Building using Mono 1.0." />
! <call target="build-provider" />
! <if propertyexists="nunit.framework.dll">
! <call target="build-nunit-tests" />
! </if>
</if>
- <call target="distribution" />
</target>
! <!-- Taget for build TLS Assembly -->
<target name="build-tls">
<property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" />
--- 115,123 ----
<property name="nant.settings.currentframework" value="mono-1.0" />
<echo message="Building using Mono 1.0." />
! <call target="build-provider-mono" />
</if>
</target>
! <!-- Taget for build TLS Assembly (Microsoft .NET) -->
<target name="build-tls">
<property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" />
***************
*** 144,148 ****
</target>
! <!-- Taget for build PgSqlClient .NET Data Provider Assembly -->
<target name="build-provider" depends="build-tls">
<property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" />
--- 140,144 ----
</target>
! <!-- Taget for build PgSqlClient Data Provider (Microsoft .NET)-->
<target name="build-provider" depends="build-tls">
<property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" />
***************
*** 158,161 ****
--- 154,202 ----
<absolute file="System.Drawing.dll" />
<absolute file="System.XML.dll" />
+ <includes name="${build.dir}/System.Security.Tls.dll" />
+ </references>
+ <arg value="/resource:${resources.dir}\Toolbox\PgConnection.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgConnection.bmp" />
+ <arg value="/resource:${resources.dir}\Toolbox\PgCommand.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgCommand.bmp" />
+ <arg value="/resource:${resources.dir}\Toolbox\PgDataAdapter.bmp,PostgreSql.Data.PgSqlClient.Resources.ToolBox.PgDataAdapter.bmp" />
+ <arg value="/optimize+" />
+ </csc>
+ </target>
+
+ <!-- Taget for build TLS Assembly (mono::)-->
+ <target name="build-tls-mono">
+ <property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" />
+
+ <mkdir dir="${build.dir}" failonerror="false" />
+
+ <!-- compile System.Security.TLS -->
+ <csc output="${build.dir}\System.Security.Tls.dll" target="library" define="${build.define}">
+ <sources>
+ <includes name="${tls.src.dir}/**/*.cs" />
+ </sources>
+
+ <references>
+ <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.dll" />
+ <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Data.dll" />
+ <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Drawing.dll" />
+ <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.XML.dll" />
+ </references>
+ <arg value="/optimize+" />
+ </csc>
+ </target>
+
+ <!-- Taget for build PgSqlClient Data Provider Assembly (mono::) -->
+ <target name="build-provider-mono" depends="build-tls-mono">
+ <property name="build.dir" value="${base.build.dir}\${nant.settings.currentframework}" />
+
+ <!-- compile PostgreSql.Data.PgSqlClient -->
+ <csc output="${build.dir}\${project.FormalName}.dll" target="library" define="${build.define}">
+ <sources>
+ <includes name="${src.dir}/**/*.cs" />
+ </sources>
+ <references>
+ <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.dll" />
+ <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Data.dll" />
+ <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.Drawing.dll" />
+ <includes name="${nant.settings.currentframework.frameworkassemblydirectory}/System.XML.dll" />
<includes name="${build.dir}/System.Security.Tls.dll" />
</references>
|