User forums > Using Code::Blocks

Custom build commands and variables

<< < (2/2)

thomas:
But... $FILENAME is not a valid builtin (unless I am very mistaken).

Which file's name is it supposed to be (probably some header)?


EDIT: Aaaaaah.... now I see what you mean. Hmm... got no quick answer ready for that now, sorry. It appears that you are doing as you should.

Jabber:
Well, I was just preparing an answer when I saw your edit ;)

Is this a bug then, or can anyone else confirm that it is working for him?

Jabber:
Just as a short follow-up:

This is fixed in the 22.03.06 build at http://forums.codeblocks.org/index.php?topic=2690.0.
The correct variable is "$file".

A big thank you to the devs!

Navigation

[0] Message Index

[*] Previous page

Go to full version