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

Razor cmake Options

amoskvin edited this page Mar 20, 2012 · 7 revisions

For some reasons you can build Razor-qt in your special way. It's not suggested but of course you can do it... you should know what you are doing ;)

Override Autodetected

  • LIB_SUFFIX - you can specify value of /usr/lib suffix manually (eg. 64 for /usr/lib64). It uses compiler for autodetection.
  • RAZOR_ETC_XDG_DIRECTORY - specify where internal QSettings should look for system-wide razor settings. It's usually /etc/xdg but it can vary on some systems (eg. openSUSE uses /etc/settings). It uses qmake for autodetection.
  • BUNDLE_XDG_UTILS - bundles xdg-open and xdg-mime. This is not needed if system xdg-utils are newer than 2012-03-02 - default Yes

Options

  • ENABLE_POLICYKIT - Enable policykit integration - default ON
  • ENABLE_LIGHTDM_GREETER - Build lightdm greeter - default ON

Panel Plugins

See content of razorqt-panel/CMakeLists.txt for current status.

  • CLOCK_PLUGIN - default Yes
  • DESKTOPSWITCH_PLUGIN - default Yes
  • QUICKLAUNCH_PLUGIN - default Yes
  • TRAY_PLUGIN - default Yes
  • MAINMENU_PLUGIN - default Yes
  • TASKBAR_PLUGIN - default Yes
  • SCREENSAVER_PLUGIN - default Yes
  • SHOWDESKTOP_PLUGIN - default Yes
  • MOUNT_PLUGIN - default Yes
  • HELLOWORLD_PLUGIN - default No
  • CPULOAD_PLUGIN - default Yes

Switches

  • CMAKE_BUILD_TYPE - if you set it to debug the Qt debugging outputs will be logged into ~/.config/razor/debug.log and into the stderr as well. Rest of sets disable this filesystem IO. Also qDebug is silented out.