Difference between revisions of "Building with Cmake FAQ"
Jump to navigation
Jump to search
(move the build faq to the cmake howto) |
|||
Line 12: | Line 12: | ||
=== Q: How to build Sim-IM when both KDE4 and KDE3 are installed? === | === Q: How to build Sim-IM when both KDE4 and KDE3 are installed? === | ||
− | '''A:''' | + | '''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: | ||
+ | <code>export KDEDIR="/opt/kde3"</code> | ||
+ | <code>export KDEDIRS="/usr:/usr/local:/opt/kde3</code> | ||
+ | After that, run cmake as usual. | ||
=== Q: How to build Sim-IM with debug info? === | === Q: How to build Sim-IM with debug info? === | ||
'''A:''' | '''A:''' | ||
<code>cmake -D CMAKE_BUILD_TYPE=Debug</code> | <code>cmake -D CMAKE_BUILD_TYPE=Debug</code> |
Revision as of 04:56, 25 January 2008
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