On 24 December 2010 01:10, Robert Jonsson <spamatica(a)gmail.com> wrote:
Hello Philipp,
2010/12/23 Philipp Überbacher <hollunder(a)lavabit.com>
building:
you seem to have switched to cmake but half way it seems. The build
instructions are rather weird and unusual for cmake.
creating build, cd'ing there and invoking cmake .. is not how it's
usually done.
Usually you configure using 'ccmake .' when you build manually or
-DCMAKE_BLA (which you do use) for automatic building.
A DESTDIR is a good thing to have since often enough software
is build in a chroot and hence "make install" as root will fail if it
tries to install into the real /usr.
I'm not convinced there is a usual way. Though you are right we are
beginners with cmake and it can probably be improved.
ccmake is just a curses frontend is it not? You can try to convince me but
instinctively I think we should steer clear of gui tools for building.
The usual way:
cmake .
The clean way:
mkdir build
cd build
cmake ..
This is to keep the build separate and maintain a clean source directory.
ccmake is a convenience for us, as well as cmake-gui.
--
GPG/PGP ID: B42DDCAD