1. Download GCC_XML
- The DictionaryGenerator package (for building dictionary source
code) has an external dependency on a tool called gcc_xml.
Note: If the current release of Reflex depends on a version
which has "_patchXXX" in it's name you will need
to get the gccxml binaries or sources from CERN (because this
is not an official release of gccxml but has been patched by
us from the gccxml cvs tree)
2. Building Reflex from Source
Getting the Source Code
cvs -d :pserver:cvs@root.cern.ch:/user/cvs
login (prompted for a password type "cvs")
cvs -d :pserver:cvs@root.cern.ch:/user/cvs co reflex |
When checking out from cvs the content of the reflex/build directory
has to be copied one level up into /reflex
Building the Reflex package
Reflex can be built with two different tools:
GNU autotools
Reflex can be built with the standard autotools procedure. You
may follow the steps below to do so.
cd reflex
cp build/* .
./autogen
./configure [OPTIONS]
make
make check (optional)
make install |
- Reflex is provided together with a test suite, which can be
built by passing the option "--enable-tests" to the configure
step. If the tests are built also the two following environment
variables have to be set (either as environment variables or
passed to the configure step)
- GCCXMLROOT : The root directory of the gccxml tool
- CPPUNITROOT : The root directory of the cppunit test suite
- Other useful standard autotools options could be:
- --disable-static : will disable libtool build of
the static version of the library
- --prefix=install/dir : specify the root directory for the
installation
Scons
Scons is a python based build tool and can be downloaded from http://www.scons.org. The build with scons is escpecially recommended for building on Windows platforms but runs also on many others
|