From: "Andraž 'ruskie' Levstik" <ruskie AT mages.ath.cx>
To: <sm-commit AT lists.ibiblio.org>
Subject: Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (8dca5166715ce9a42a3ca64b8667944995878b58)
Date: Sun, 13 May 2007 02:05:47 +0200
On 13:20:47 2007-05-12 Treeve Jelbert <scm AT sourcemage.org> wrote:
> +
> +# spells in several sections now need cmake or qt4
> +#
> +cmake_build() {
> +cd $SOURCE_DIRECTORY &&
> +mkdir -p build &&
> +cd build &&
> +cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT/usr ../ $OPTS &&
> +make
> +}
> +
> +qt4_build() {
> +QTDIR=/usr
> +PATH=$QTDIR/bin/qt4:$PATH
> +cmake_build
> +}
OK here's a quick questin I don't get... why the hell does this first mkdir
build then cd into build
All my cmake experience was always like:
cmake && make && make install nothing much else...
No mkdiring of build or anything that's ussualy for ppl that don't have a
sane package manager like we do. Also not sure about QTDIR and PATH vars...
--
Andraž "ruskie" Levstik
Source Mage GNU/Linux Games grimoire guru
Geek/Hacker/Tinker