Building with Cmake FAQ
Q: What is the correct way to build sim using cmake?
A: First create a build directory outside the source code, then cd to that dir and run, for example:
mkdir -p sim/source sim/build
Put the source code in the source dir, cd to the build dir and run:
That will run cmake's configure checks which will check if you have got every programs/libraries/headers,that are needed to compile sim. If you want to tune some of the variables, you can either use the interactive mode of cmake
cmake -i ../source
or you can use cmake's nice gui:
If that is done just run
in the build dir to build sim. When it finished, run
to install sim.
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 with debug info?
cmake -D CMAKE_BUILD_TYPE=Debug