[go: up one dir, main page]

Menu

Tree [r710] / tags / 0.7.9 /
 History

HTTPS access


File Date Author Commit
 cppdom 2007-07-07 patrickh [r615] Roll the version to 0.7.9.
 deps 2007-07-07 patrickh [r617] Use a static version of SConsAddons r305.
 doc 2007-06-26 patrickh [r603] Update the version number and disable the use o...
 test 2007-06-25 patrickh [r593] Clean up the debug/hybrid handling (at least in...
 tools 2007-06-11 patrickh [r576] This version of SConsAddons doesn't work for th...
 AUTHORS 2003-01-07 nonchocoboy [r220] Added Michael Fink as the original xmlpp author.
 COPYING 2002-05-06 subatomic [r61] branch from xmlpp 0.6 LGPL - cppdom namechange
 ChangeLog 2007-07-07 patrickh [r615] Roll the version to 0.7.9.
 README 2007-06-28 patrickh [r612] Updated the instructions for building on Mac OS X.
 SConstruct 2007-06-28 patrickh [r611] Recognize more CPU architecures when naming the...
 cppdom-config 2006-08-12 allenb [r556] Add --basedir param.
 cppdom.fpc.in 2006-08-08 allenb [r554] - Update version and prefix usage and spec.
 cppdom.spec 2007-07-07 patrickh [r615] Roll the version to 0.7.9.

Read Me

see COPYING for the license (LGPL)

Dependencies
============
- Reasonably compliant C++ compiler (gcc 3.x, vc 7.1, etc)
- Boost library: See www.boost.org for details and downloads
- CppUnit (optional for test suite): See cppunit.sf.net
- (optional) SConsAddons - Addon library for the build system.  https://realityforge.vrsource.org/SconsAddons

Building
========
CppDom uses the scons build system.  You can download scons from www.scons.org.

We also use the SconsAddons library (see above).  It is included in the source
tree or you can add its source directory in your PYTHONPATH to build.

ex: https://realityforge.vrsource.org/svn/scons-addons/trunk/scons-addons

PYTHONPATH=/home/username/scons-addons/src

NOTE: In the future we hope to use third party branches or svn:externals to 
remove the need to download this separately.

Once you have both of these, the follow steps should be all you need.

Please see 'scons --help' for a list of options for specifying where the
dependencies are located.

type 'scons' to build cppdom shared lib.
type 'scons install' to install on the system
type 'scons install prefix=$HOME/software' to install in your account

Mac OS X
========

On Mac OS X, the build may auto-detect that it can build multiple
architectures (not necessarily universal binaries), but this case is not
currently handled well. SCons will complain that there are multiple ways to
build the same target and exit with an error. To work around this, specify
the desired architecture explicitly (pass var_arch=ppc, var_arch=ia32, or
var_arch=ppc64 on the scons command line) or build a universal binary (see
below).

Universal Binaries
==================

To build the CppDOM libraries as univeral binaries (Mac OS X only), use the
following command:

   scons darwin_universal=yes var_arch=universal var_type=optimized \
         darwin_sdk=/Developer/SDKs/MacOSX10.4u.sdk

An alternate platform SDK can be used by using the appropriate value with
the darwin_sdk command line arcument.