Code::Blocks: SVN 10120
O/S: Ubuntu 12.04 x86_64
I can quite happily create, compile and run a command line program, so all good so far.
Then I decided I wanted to define a variable TIMESTAMP_ISO. So on the Project build options page, Compiler settings, #defines, I enter:
TIMESTAMP_ISO=$(shell date -u '"\"%Y-%m-%dT%H:%M:%SZ\""')
as per a post elsewhere. The problem when compiling:
date No such file or directory
Excuse me? date is in /bin where it belongs. I can run from command line, I can run by going /bin/sh -c date
Seriously at a loss why this is not working. Help?
M