Changeset 19442
- Timestamp:
- 11/10/06 09:31:35 (2 years ago)
- Files:
-
- PyJuggler/branches/1.0/INSTALL.txt (modified) (3 diffs)
- PyJuggler/branches/1.0/src/common-targets.mk.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
PyJuggler/branches/1.0/INSTALL.txt
r15937 r19442 165 165 % make 166 166 167 This builds an optimized version of PyJuggler. 168 167 169 This assumes that you have Boost 1.31.x installed. If you have a version 168 170 newer than 1.31 (i.e., 1.32, 1.33, etc.), you must add the option … … 172 174 --with-boost-version=<Boost version> 173 175 174 Valid values have only the major and minor version number. DO NOT ADD 175 THE PATCH VERSION!! This extra option is needed because the Boost 176 installation procedure incldues the Boost version number in the names of 177 installed files and directories. 176 Only add the patch version if it is a non-zero value (for example, 1.33.1). 177 DO NOT use the patch version if it is zero (for example, 1.34.0). 178 178 179 179 If, for some reason, your Boost 1.31 (or newer) installation does not … … 184 184 the auto-detected default. 185 185 186 By default, the PyJuggler GNU Make build always links against the optimized 187 version of the Boost.Python library. To override this, the $(BP_TYPE) make 188 variable can be set to either "debug" or "optim" indicating the use of the 189 debug or the optimized Boost.Python library respectively. A common reason 190 to do this would be to debug PyJuggler, in which case PyJuggler would be 191 built with debugging symbols. The usage would then be the following: 192 193 % make BP_TYPE=debug debug 194 186 195 $Id$ PyJuggler/branches/1.0/src/common-targets.mk.in
r18527 r19442 68 68 MOD_SUFFIX= $(MODEXT_DBG) 69 69 OBJDIR= $(OBJDIR_DBG) 70 BOOST_PYTHON_LDFLAGS= @BOOST_PYTHON_LDFLAGS_DBG@71 70 PYJUTIL_LIB= @PYJUTIL_LDFLAGS_DBG@ 72 71 else … … 75 74 MOD_SUFFIX= $(MODEXT_OPT) 76 75 OBJDIR= $(OBJDIR_OPT) 76 PYJUTIL_LIB= @PYJUTIL_LDFLAGS_OPT@ 77 endif 78 79 # Set the type of Boost.Python against which PyJuggler will be linked. Valid 80 # values are "optim" (for the optimized Boost.Python build) or "debug" (for 81 # the debug Boost.Python build). 82 BP_TYPE?= optim 83 84 ifeq ($(BP_TYPE), debug) 85 BOOST_PYTHON_LDFLAGS= @BOOST_PYTHON_LDFLAGS_DBG@ 86 else 77 87 BOOST_PYTHON_LDFLAGS= @BOOST_PYTHON_LDFLAGS_OPT@ 78 PYJUTIL_LIB= @PYJUTIL_LDFLAGS_OPT@79 88 endif 80 89
