summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/README.rhel37
-rw-r--r--cpp/options-rhel3.mk1
-rwxr-xr-xcpp/release.client.rhel36
3 files changed, 12 insertions, 2 deletions
diff --git a/cpp/README.rhel3 b/cpp/README.rhel3
index 58d1ac765f..7a9989ced9 100644
--- a/cpp/README.rhel3
+++ b/cpp/README.rhel3
@@ -9,6 +9,12 @@ Install boost-1.33.1 into ~/local/boost-1.33.1
Install cppunit-1.11.4 into ~/local/cppunit-1.11.4
+If you want a standard release build skip this step. If you want a debug
+build do the following:
+
+ 1. Edit options-rhel3.mk. Comment out definition of RELEASE.
+ 2. Edit release.client.rhel3. Change buildType to "debug".
+
Build using the following command:
$ ./build.rhel3
@@ -20,3 +26,4 @@ Generate cppclient tarball:
or if you want to name the release:
$ ./release.client.rhel3 1.0-RC1
+
diff --git a/cpp/options-rhel3.mk b/cpp/options-rhel3.mk
index c84cab94b1..f2108d89e0 100644
--- a/cpp/options-rhel3.mk
+++ b/cpp/options-rhel3.mk
@@ -2,6 +2,7 @@
# Expects dependencies in ~/local
#
+# Comment out the setting of RELEASE to build a debug release.
RELEASE := 1
# Configure Boost.
diff --git a/cpp/release.client.rhel3 b/cpp/release.client.rhel3
index f1f3b0fe88..52b9d731d9 100755
--- a/cpp/release.client.rhel3
+++ b/cpp/release.client.rhel3
@@ -1,5 +1,7 @@
#!/bin/bash
+buildType="release" # change to "debug" to build a debug release
+
if [[ $# -eq 1 ]]; then
name=$1
elif [[ $# -ne 0 ]]; then
@@ -26,8 +28,8 @@ mkdir $dir
#
mkdir $dir/lib
cp \
- build/apr-release/lib/libqpid_client.so.1.0 \
- build/apr-release/lib/libqpid_common.so.1.0 \
+ build/apr-$buildType/lib/libqpid_client.so.1.0 \
+ build/apr-$buildType/lib/libqpid_common.so.1.0 \
$dir/lib
cp -r ~/local/apr-1.2.7 $dir/lib
cp -r ~/local/boost-1.33.1 $dir/lib