Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: effemmeffe on October 06, 2020, 01:47:38 pm

Title: Can I use a user code define as post build variable?
Post by: effemmeffe on October 06, 2020, 01:47:38 pm
I've read about variable expansion and learned how to add the date to my post build script.
I have a
Code
#define MY_VAR  5
in my C code.
I'd like to use MY_VAR as a variable in my post build script, is it possible?
How?