From 630d919746c3631ef8f75cf03e9ecb9ec91f9534 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 1 Apr 2013 14:27:37 +0000 Subject: QPID-4686: Mention ldconfig in cpp/INSTALL instructions git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1463146 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/INSTALL | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/cpp/INSTALL b/cpp/INSTALL index e83411d34d..53d9f6768c 100644 --- a/cpp/INSTALL +++ b/cpp/INSTALL @@ -166,23 +166,28 @@ For example: 3. Building from a Source Distribution ====================================== -In the distribution directory, build and install with: +In the cpp distribution directory, build the code with: # mkdir BLD # This is just a suggested name for the build directory # cd BLD # cmake .. # ".." is the path to the distribution directory # make all - # make install -To build and test everything: +To run the tests: - # make # make test -This builds in the source tree. You can have multiple builds in the -same working copy with different configuration. For example you can do -the following to build twice, once for debug, the other with -optimization: +To install: + + # make install + +When installing in Unix system directories (/usr/lib, /usr/local/lib) also do: + + # ldconfig + +You can have multiple builds in the same working copy with different +configuration. For example you can do the following to build twice, once for +debug, the other with optimization: # mkdir BLD-dbg BLD-opt # (cd BLD-dbg; cmake -DCMAKE_BUILD_TYPE=Debug .. && make ) @@ -193,6 +198,9 @@ Debug, Release, MinSizeRel, DebWithRelInfo: They each correspond to a different set of build flags for respectively debug; release; minimum size release; release with debug information. +To see and edit all the available cmake options: + + # cmake-gui .. # ".." is the path to the distribution directory 4. Building a Repository Working Copy ===================================== -- cgit v1.2.1