Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
svn co https://svn.apache.org/repos/asf/qpid/trunk/qpid

...

Automake vs CMake

Currently we have 2 parallel build systems one using automake the other using cmake.

We are moving towards cmake and will eventually get rid of automake, but for the moment the cmake system is not complete and we have to live with both.

That means if you add a file to the build, you must update both Makefile.am and CMakeLists.txt and check that you can build with both systems as described below.

Build with automake

First you need to initialize the autotools:

...

No Format
./bootstrap -build

Build with cmake

No Format

mkdir builddir
cd buildir
cmake <path to checkout>/cpp/CMakeLists.txt
make # Build
make test # Run tests

You can also use the interactive ccmake on linux and the GUI on windows to modify the configuration.