Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] cmake flags in DEPENDS

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Sukneet Basuta <sukneet AT gmail.com>
  • To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] cmake flags in DEPENDS
  • Date: Mon, 30 Jul 2012 02:27:57 -0400

To pass cmake flags in kdesdk4, I replaced every instance of ':' with
'@' in DEPENDS and then replaced every instance of '@' in $OPTS with
':' in BUILD, since sorcery uses ':' as a delimiter (see commit
600d6654ad05eb0eba73ca796423f595fa162b8b). I chose @ since that seems
to be a rarely, if ever, used character in OPTS.

It seems to work, but is it safe to do this? Is there a better way of
doing this?

I suppose I could have checked if each depends is enabled in BUILD and
manually added each flag to OPTS, but I wanted to be lazy and use the
standard way of passing flags.




Archive powered by MHonArc 2.6.24.

Top of Page