sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Sukneet Basuta <sukneet AT gmail.com>
- To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] cmake flags in DEPENDS
- Date: Mon, 30 Jul 2012 12:11:18 -0400
On Mon, Jul 30, 2012 at 2:43 AM, Andraž 'ruskie' Levstik
<ruskie AT codemages.net> wrote:
> This is already handled in spells check grimoire FUNCTIONS:
> # cmake flags use : which is an internal sorcery delimiter.
> # In order to facilitate the passing of depends flags, use % instead and
> call
> # this function at the start of BUILD. Don't use it anywhere else.
> # Example:
> # DEPENDS: depends kdelibs4 -DCRUFT%BOOL=FALSE; ...
> # BUILD: prepare_cmake_flags; ...
> function prepare_cmake_flags()
> {
> OPTS="${OPTS//%/:}"
> }
>
>
> cmake_build() {
> cd $SOURCE_DIRECTORY &&
> mkdir -p build &&
> cd build &&
> prepare_cmake_flags &&
> cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT/usr
> -DSYSCONFDIR=$INSTALL_ROOT/etc $OPTS ../ &&
> make
> }
That doesn't seem to be the case in default_build for kde spells. I
guess I'll add the same functionality to kde FUNCTIONS.
Thanks!
-
[SM-Discuss] cmake flags in DEPENDS,
Sukneet Basuta, 07/30/2012
-
Re: [SM-Discuss] cmake flags in DEPENDS,
Andraž 'ruskie' Levstik, 07/30/2012
-
Re: [SM-Discuss] cmake flags in DEPENDS,
Sukneet Basuta, 07/30/2012
- Re: [SM-Discuss] cmake flags in DEPENDS, Andraž 'ruskie' Levstik, 07/30/2012
-
Re: [SM-Discuss] cmake flags in DEPENDS,
Sukneet Basuta, 07/30/2012
-
Re: [SM-Discuss] cmake flags in DEPENDS,
Andraž 'ruskie' Levstik, 07/30/2012
Archive powered by MHonArc 2.6.24.