Author Topic: Custom variables ssetup in the compiler not get applied  (Read 15947 times)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Custom variables ssetup in the compiler not get applied
« Reply #15 on: December 19, 2005, 02:45:26 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Custom variables ssetup in the compiler not get applied
« Reply #16 on: December 21, 2005, 08:41:39 am »
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)
...

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

takeshimiya

  • Guest
Re: Custom variables ssetup in the compiler not get applied
« Reply #17 on: December 21, 2005, 08:45:27 am »
Yep, you must know, these days macro expansion brokes very often :)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Custom variables ssetup in the compiler not get applied
« Reply #18 on: December 21, 2005, 08:52:57 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
« Last Edit: December 21, 2005, 09:01:50 am by tiwag »