From b2b4d120e145687358e3e448678619079798fb77 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 24 Oct 2006 21:13:01 +0000 Subject: Makefile support for optimized release build. Do make BUILD=RELEASE. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@467486 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/README | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'cpp/README') diff --git a/cpp/README b/cpp/README index e8eb16965c..a887991f56 100644 --- a/cpp/README +++ b/cpp/README @@ -5,22 +5,25 @@ See DESIGN for design notes, Makefile comment for build system notes. == Prerequisites == Required to build: - * Apache Portable Runtime 1.2.7: http://apr.apache.org/ - * CppUnit: http://cppunit.sourceforge.net - * boost: http://www.boost.org + * Apache Portable Runtime 1.2.7: http://apr.apache.org + * CppUnit 1.11.4: http://cppunit.sourceforge.net + * boost 1.33.1: http://www.boost.org Optional: to generate source code documentation you need: - * doxygen: http://sourceforge.net/projects/doxygen/ - * graphviz - http://www.graphviz.org/ + * doxygen 1.4.6: http://sourceforge.net/projects/doxygen/ + * graphviz 2.8: http://www.graphviz.org/ -On Fedora: yum install apr apr-devel cppunit cppunit-devel boost boost-devel doxygen graphviz +If you use yum to install packages: +# yum install apr apr-devel cppunit cppunit-devel boost boost-devel doxygen graphviz == Build and test == +For a debug build: +> make +For an optimized release build: +> make BUILD=RELEASE -make - -Default target builds and tests everything, see Makefile for other -targets. +The default target "test" builds everything and runs all tests. See +the Makefile for more targets. === Unit tests === Unit tests are built as .so files containing CppUnit plugins. -- cgit v1.2.1