News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Custom variables ssetup in the compiler not get applied

Started by MortenMacFly, December 16, 2005, 04:32:29 PM

Previous topic - Next topic

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
...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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

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:

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


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 :)
:(

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