Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Custom variables ssetup in the compiler not get applied

<< < (4/4)

MortenMacFly:

--- Quote from: MortenMacFly on December 19, 2005, 02:40:09 pm ---Do you really mean per-target and not per-project? If so, then it sounds like an interesting new feature! :P

--- End quote ---
...sorry, I have been an idiot. Of course there is the possibility for per-project and per-target variables. I got that part wrong... The other things I mentioned still apply.
Morten.

tiwag:
i updated today to SVN rev 1578 and found, that it is not possible
to use more than one custom variable for a single expression any longer !

i have set-up my project templates with custum variables as follows:


--- Code: ---WXVER = 26
WXREL = 1
WXVERREL = $(WXVER)$(WXREL)
WXDIR = d:\wx$(WXVERRREL)
WXDLL = wxmsw$(WXVER)
...
--- End code ---

all my projects are broken now, because the WXVERREL macro expands to ""

takeshimiya:
Yep, you must know, these days macro expansion brokes very often :)

tiwag:

--- Quote from: Takeshi Miya on December 21, 2005, 08:45:27 am ---Yep, you must know, these days macro expansion brokes very often :)

--- End quote ---
:(

[edit append]
i just tested, that with my previous SVN build rev 1565 these combined macros are getting expanded properly.
hth

Navigation

[0] Message Index

[*] Previous page

Go to full version