[tasque/windows] [Sqlite] Copy sqlite related dlls to install dir
- From: Antonius Riha <antoniusri src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tasque/windows] [Sqlite] Copy sqlite related dlls to install dir
- Date: Fri, 21 Sep 2012 22:57:46 +0000 (UTC)
commit 9db1d1892a81054404a51d29556201dae2014b3e
Author: Antonius Riha <antoniusriha gmail com>
Date: Sat Sep 22 00:57:16 2012 +0200
[Sqlite] Copy sqlite related dlls to install dir
This is only necessary (and desirable) on Windows. Therefore created
GtkWinDebug and -Release build confs as well as GtkLinuxDebug and
-Release confs.
Also: set PlatformTarget on Windows builds to x86.
src/Addins/Backends/Sqlite/SqliteBackend.csproj | 35 +++++++++++++++++++---
1 files changed, 30 insertions(+), 5 deletions(-)
---
diff --git a/src/Addins/Backends/Sqlite/SqliteBackend.csproj b/src/Addins/Backends/Sqlite/SqliteBackend.csproj
index 4d95974..3c356d9 100644
--- a/src/Addins/Backends/Sqlite/SqliteBackend.csproj
+++ b/src/Addins/Backends/Sqlite/SqliteBackend.csproj
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">GtkDebug</Configuration>
+ <Configuration Condition=" '$(Configuration)' == '' ">GtkLinuxDebug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>10.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
@@ -18,16 +18,29 @@
<ReleaseVersion>0.1.12</ReleaseVersion>
<BuildEnabled>$(EnableBackendSqlite)</BuildEnabled>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkDebug|AnyCPU' ">
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkLinuxDebug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>False</Optimize>
- <DefineConstants>DEBUG;TRACE;GTK</DefineConstants>
+ <DefineConstants>DEBUG;TRACE;GTKLINUX</DefineConstants>
</PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkRelease|AnyCPU' ">
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkLinuxRelease|AnyCPU' ">
<DebugType>none</DebugType>
<Optimize>True</Optimize>
- <DefineConstants>TRACE;GTK</DefineConstants>
+ <DefineConstants>TRACE;GTKLINUX</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkWinDebug|AnyCPU' ">
+ <DebugSymbols>True</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>False</Optimize>
+ <DefineConstants>DEBUG;TRACE;GTKWIN</DefineConstants>
+ <PlatformTarget>x86</PlatformTarget>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'GtkWinRelease|AnyCPU' ">
+ <DebugType>none</DebugType>
+ <Optimize>True</Optimize>
+ <DefineConstants>TRACE;GTKWIN</DefineConstants>
+ <PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MonoMacDebug|AnyCPU' ">
<DebugSymbols>True</DebugSymbols>
@@ -76,4 +89,16 @@
<TasqueCompile Include="SqliteBackend.cs" />
<TasqueCompile Include="Database.cs" />
</ItemGroup>
+ <ItemGroup Condition=" '$(Configuration)' == 'GtkWinDebug' Or '$(Configuration)' == 'GtkWinRelease' ">
+ <InstallFile Include="..\..\..\..\winbin\sqlite3.dll">
+ <Link>winbin\sqlite3.dll</Link>
+ <InstallPath>$(PkgLibDir)</InstallPath>
+ <InstallFileName>sqlite3.dll</InstallFileName>
+ </InstallFile>
+ <InstallFile Include="..\..\..\..\winbin\Mono.Data.Sqlite.dll">
+ <Link>winbin\Mono.Data.Sqlite.dll</Link>
+ <InstallPath>$(PkgLibDir)</InstallPath>
+ <InstallFileName>Mono.Data.Sqlite.dll</InstallFileName>
+ </InstallFile>
+ </ItemGroup>
</Project>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]