View previous topic :: View next topic |
Author |
Message |
domain
Joined: 09 Jan 2009 Posts: 10
|
Posted: Mon Jan 19, 2009 11:41 pm Post subject: How to use variable in dsss.conf? |
|
|
I know that any settings in a named section will override those in "*" sections.
For example, in this situation:
Code: |
[*]
buildflags=-O
[mydlib]
buildflags+=-release
|
mydlib's buildflags are only "-release".
I don't think this is a good idea. In my opinin, if you want to override some settings, you should use "=", not "+=".
Now I want to use variable to solve this problem:
Code: |
[*]
commonflags=-O
[mydlib]
buildflags=$commonflags
buildflags+=-release
[mydlib2]
buildflags=$commonflags
buildflags+=-debug
|
But actually, buildflags will be just "-release" and "-debug".
How can I use variable in dsss.conf? |
|
Back to top |
|
|
joelcnz
Joined: 23 Feb 2009 Posts: 76
|
Posted: Wed Aug 19, 2009 9:18 pm Post subject: |
|
|
Did you get an answer to your question? If so can you post it here. |
|
Back to top |
|
|
michaelp
Joined: 27 Jul 2008 Posts: 114
|
Posted: Thu Aug 20, 2009 7:34 am Post subject: |
|
|
Maybe you'd want to try something like this?
Code: | [*]
buildflags=-O -release
[mydlib]
buildflags+=-release |
|
|
Back to top |
|
|
|