Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Treeve Jelbert (8dca5166715ce9a42a3ca64b8667944995878b58)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • 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

Hacker FAQ: http://www.plethora.net/%7eseebs/faqs/hacker.html
Be sure brain is in gear before engaging mouth.

Key id = F4C1F89C
Key fingerprint = 6FF2 8F20 4C9D DB36 B5B6 F134 884D 72CC F4C1 F89C





Archive powered by MHonArc 2.6.24.

Top of Page