Skip to content
This repository was archived by the owner on Dec 17, 2017. It is now read-only.

How to compile it

SokoloffA edited this page Jan 3, 2012 · 7 revisions

Razor-qt uses cmake to configure and build. See Dependencies for the complete list of requirements.

At first - obtain sources. It can be tarball or git clonning see github help.

For next text let's suppose you donwloaded razorqt-0.4.0.tar.bz2 tarball. Character $ is a sign for shell prompt.

  • place tarball into your working directory. For example ~/work/razor and unpack the archive there.

  • new directory appears: razorqt-0.4.0

  • create new directory in the work directory to build it there. mkdir build.

  • so the directory structure is following:

    $ ls

    build

    razorqt-0.4.0

  • go to the build directory and run cmake there

    $ cd build

    $ cmake -DCMAKE_INSTALL_PREFIX=../release ../razorqt-0.4.0

    which means: configure the build to be installed in ~/work/razor/release as the root directory. In the case you omit the CMAKE_INSTALL_PREFIX the /usr/local path will be used.

  • there are more useful variables to be defined. E.g. -DCMAKE_BUILD_TYPE=debug compiles razor with debugging symbols etc. Please see Cmake documentation

  • if the configuration phase runs successfully then just run make and make install

Clone this wiki locally