-
Notifications
You must be signed in to change notification settings - Fork 77
How to compile it
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/razorand 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:
$ lsbuildrazorqt-0.4.0 -
go to the
builddirectory and run cmake there$ cd build$ cmake -DCMAKE_INSTALL_PREFIX=../release ../razorqt-0.4.0which means: configure the build to be installed in
~/work/razor/releaseas the root directory. In the case you omit theCMAKE_INSTALL_PREFIXthe/usr/localpath will be used. -
there are more useful variables to be defined. E.g.
-DCMAKE_BUILD_TYPE=debugcompiles razor with debugging symbols etc. Please see Cmake documentation -
if the configuration phase runs successfully then just run
makeandmake install