FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to use variable in dsss.conf?

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
domain



Joined: 09 Jan 2009
Posts: 10

PostPosted: Mon Jan 19, 2009 11:41 pm    Post subject: How to use variable in dsss.conf? Reply with quote

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
View user's profile Send private message
joelcnz



Joined: 23 Feb 2009
Posts: 76

PostPosted: Wed Aug 19, 2009 9:18 pm    Post subject: Reply with quote

Did you get an answer to your question? If so can you post it here.
Back to top
View user's profile Send private message MSN Messenger
michaelp



Joined: 27 Jul 2008
Posts: 114

PostPosted: Thu Aug 20, 2009 7:34 am    Post subject: Reply with quote

Maybe you'd want to try something like this?

Code:
[*]
buildflags=-O -release

[mydlib]
buildflags+=-release
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group