--DLINGUAS="<languages">
- Allow to choose which languages should be compiled into the binary.
- <languages> is a space-separated list of language codes.
- Example: -DLINGUAS="de en_US"
-
--DQT=/path/to/qt
- Use a non-system Qt installation. This is for example useful if you have a static
- Qt installed in some local dir.
-
--DSTATIC=1
- Enable static building of Quassel. On Linux, you should link the static versions of some libs
- (in particular libstdc++.a) into /path/to/build/dir/staticlibs in oder to create
- a portable binary! Be aware of the fact that some things we do in STATIC mode might not be portable
- or require a particular setup; it's mainly meant for the devel team.
-
-BUILDING ON WINDOWS:
---------------------
-We have tested building on Windows with a statically built Qt (with its /bin directory in %PATH%)
-and MSVC 2005/2008. Make sure that you use a "shell" that has all needed env variables setup,
-such as the "Visual Studio Command Prompt". You will also need the /bin of the Microsoft SDK in
-your %PATH% at least for VS 2008, otherwise rc.exe is not found.
-Currently, only building in the shell using nmake seems to work; CMake can also create MSVC project
-files, but they seem to be problematic. However, YMMV. Software development on Windows is a real
-PITA.
-
-After you have everything setup:
-
-cd C:\path\to\quassel-build
-cmake -G"NMake Makefiles" C:\path\to\quassel\source -DSTATIC=1
-nmake
+-DUSE_QT5=ON
+ Build against Qt5 instead of the default Qt4. Note that you should empty
+ your build directory when switching between Qt versions, otherwise weird
+ things may happen.
+
+-DWITH_KDE=ON
+ Enable integration into KDE4; only available if -DUSE_QT5=OFF
+
+-DWITH_OXYGEN=(ON|OFF)
+ Install the parts of the Oxygen icon set Quassel uses. Oxygen is the default
+ icon set for KDE4, and thus already available on systems where KDE4 is
+ installed. By default, WITH_OXYGEN is ON iff WITH_KDE is OFF. If you are
+ sure that you have the icon set already installed on your system regardless,
+ use this option to disable installing the bundled icons.
+
+-DWITH_WEBKIT=OFF
+ Use Webkit for showing previews of webpages linked in the chat. Requires
+ the QtWebkit module to be available, and increases the client's RAM usage
+ by *a lot* if enabled at runtime.
+
+-DEMBED_DATA=(ON|OFF)
+ Specifies whether Quassel's data files (icons, translations and so on)
+ should be installed normally, or embedded into the binaries. The latter is
+ useful if you want to run Quassel from the build directory, or don't want
+ to use a standard installation. In particular, EMBED_DATA defaults to ON
+ on Windows and OS X, and to OFF on Linux.
+
+You can find the list of optional packages for additional features in CMake's
+feature summary; install missing packages for enabling the functionality listed
+in the explanation. If you want to forcefully disable an optional feature, use
+-DCMAKE_DISABLE_FIND_PACKAGE_Foo=TRUE, where "Foo" is the package name listed.
+
+Quassel also supports the usual CMake options, most importantly
+
+-DCMAKE_INSTALL_PREFIX=/prefix/path - specify the installation prefix
+-DCMAKE_BUILD_TYPE=(Debug|Release|RelWithDebug) - specify the build type
+
+If you want to narrow down the languages to be installed, you can set the
+LINGUAS environment variable with a space-separated list of language codes,
+for example LINGUAS="de en_US".
+
+After running CMake, you can just run "make" in the build directory, and
+"make install" for installing the result into the installation prefix.