Building with Cmake FAQ

From Sim-Im
Revision as of 04:56, 25 January 2008 by Berniyh (Talk | contribs)

Jump to: navigation, search

Linux

Q: How to build Sim-IM without KDE support?

A: For Sim-IM 0.9.4.* and for old revisions of Sim-IM 0.9.5 you should use

cmake -D USE_KDE3:boolean=false

and for Sim-IM 0.9.5 rev. 2106 or newer

cmake -D ENABLE_KDE3:boolean=false

Q: How to build Sim-IM when both KDE4 and KDE3 are installed?

A: You have to make sure, that both the KDEDIR and the KDEDIRS variables are set correctly, so, that cmake finds the correct libraries. For example, if you installed kde3 in /opt/kde3 this might look like this:

export KDEDIR="/opt/kde3"
export KDEDIRS="/usr:/usr/local:/opt/kde3

After that, run cmake as usual.

Q: How to build Sim-IM with debug info?

A:

cmake -D CMAKE_BUILD_TYPE=Debug