I needed to define a constant to give me the SVN version of a project. I added the following line to
Compiler settings > Other Options:
\'-DSVN_VER=\"`svnversion`\"\'
The problem is once CB generates compiler command with all the switches and the expansion of svnversion command it reuses the same command string for the following compilations and SVN_REV never redefined (clean, rebuild don't help) until I close and open CB again.
I want
\'-DSVN_VER=\"`svnversion`\"\'
to be shell-expanded every time I build. Is it possible?
Thanks.