Variables are not expanded in the "Program arguments".
Create e.g. a DLL project.
Go to Project -> Set programs' arguments.
In "Host application", enter cmd
In "Program arguments", enter /C echo "hello $(TARGET_OUTPUT_DIR)!"
Click Build -> Run
The output is hello $(TARGET_OUTPUT_DIR)!
, but I expected something like hello bin\Debug\!
.
My Code::Blocks version is Release 16.01 rev 10702 (Build: Jan 25 2016, 21:19:34 - wx2.8.12 (Windows, unicode) - 32 bit)
fixed in r12324