diff options
author | Ted Ross <tross@apache.org> | 2010-08-30 19:38:31 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2010-08-30 19:38:31 +0000 |
commit | 3a4d8a82ea6e9cd405ac7d480fd8b70b1aaf76ab (patch) | |
tree | 18d049d0b82ac22c8869dc434220d88e0f156411 /cpp/bindings/qpid/dotnet/examples/csharp.example.client/csharp.example.client.csproj | |
parent | 2991278da80b830d0d580645d95d1aa87a488834 (diff) | |
download | qpid-python-3a4d8a82ea6e9cd405ac7d480fd8b70b1aaf76ab.tar.gz |
QPID-2827 - QPID Cpp WinSDK does not contain 64-bit libraries
Patch from Chuck Rolke
* Adds the x64 platform to the cpp\example solution and six example projects.
* Adds the x64 platform to the qpid messaging .NET binding dlls and examples.
* Adds QPID_BUILD_ROOT environment variable to .NET binding projects for locating C++ libraries and headers, and for storing generated output. This is required to compensate for the varying location of cmake-generated directories. For a given build QPID_BUILD_ROOT must be set to the directory in which cmake was run.
* Reorganize the bld-winsdk.ps1 script to build x86 (Win32) and x64 platforms.
* Update Readme-winsdk.txt content. Also switch this file to DOS line endings to improve its usability on a Windows system.
* Add a shadow solution file and shadow project files for the C# examples. The new build process copies the development example source tree to get the example sources organized into a hierarchy and then overlays the copied tree with the shadow .sln and .csproj files. Users then build the examples directly using the customized solution.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990917 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qpid/dotnet/examples/csharp.example.client/csharp.example.client.csproj')
-rw-r--r-- | cpp/bindings/qpid/dotnet/examples/csharp.example.client/csharp.example.client.csproj | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/cpp/bindings/qpid/dotnet/examples/csharp.example.client/csharp.example.client.csproj b/cpp/bindings/qpid/dotnet/examples/csharp.example.client/csharp.example.client.csproj index 76fb1c5e19..5618ac5996 100644 --- a/cpp/bindings/qpid/dotnet/examples/csharp.example.client/csharp.example.client.csproj +++ b/cpp/bindings/qpid/dotnet/examples/csharp.example.client/csharp.example.client.csproj @@ -17,7 +17,7 @@ <DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
- <OutputPath>..\..\..\..\..\src\Debug\</OutputPath>
+ <OutputPath>$(QPID_BUILD_ROOT)\src\$(Configuration)\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
@@ -25,27 +25,43 @@ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>..\..\..\..\..\src\Release\</OutputPath>
+ <OutputPath>$(QPID_BUILD_ROOT)\src\$(Configuration)\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugSymbols>true</DebugSymbols>
- <OutputPath>..\..\..\..\..\src\Debug\</OutputPath>
+ <OutputPath>$(QPID_BUILD_ROOT)\src\$(Configuration)\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
- <OutputPath>..\..\..\..\..\src\Release\</OutputPath>
+ <OutputPath>$(QPID_BUILD_ROOT)\src\$(Configuration)\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>x86</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
+ <DebugSymbols>true</DebugSymbols>
+ <OutputPath>$(QPID_BUILD_ROOT)\src\$(Configuration)\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <DebugType>full</DebugType>
+ <PlatformTarget>x64</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
+ <OutputPath>$(QPID_BUILD_ROOT)\src\$(Configuration)\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <Optimize>true</Optimize>
+ <DebugType>pdbonly</DebugType>
+ <PlatformTarget>x64</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ </PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core">
|