Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 14 additions & 17 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,49 +3,46 @@ Build Requirements

You need to have the following packages installed (for Fedora)

cmake
automake
glib2-devel
qt-devel
* cmake
* automake
* glib2-devel
* qt-devel

Build instructions
------------------

To build, use the following commands from the source tree.

mkdir -p build

cd build

cmake ..

make
mkdir -p build
cd build
cmake ..
make

To install, use this command from the same directory (as root, if necessary)

make install
make install

Build options
-------------

While using the cmake command, you can modify its behaviour using the following flags

-DCMAKE_INSTALL_PREFIX=<path to your install prefix>
-DCMAKE_INSTALL_PREFIX=<path to your install prefix>

This will install the libraries to a location other than /usr/local (the default install prefix)

-DBUILD_TESTS=off
-DBUILD_TESTS=off

This will prevent the tests from building

-DBUILD_DTD_TESTS=off
-DBUILD_DTD_TESTS=off

This will prevent the tests of the Mozilla DTD backend of the Bong library (using GLib)

-DBUILD_PROPERTIES_TESTS=off
-DBUILD_PROPERTIES_TESTS=off

This will prevent the tests of the Mozilla Properties backend of the Bong library (using GLib)

-DBUILD_PROPERTIES_QT_TESTS=off
-DBUILD_PROPERTIES_QT_TESTS=off

This will prevent the tests of the Qt wrapper to the Mozilla Properties backend of the Bong library.