Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: denk_mal on August 01, 2007, 09:49:05 am
-
Hi,
i have tried to use the builtin variables in a post build step and found out that im
my enviromet the variables $(TARGET_OUTPUT_DIR) is pointing to $(PROJECTDIR)
and not to $(PROJECTDIR)/bin/Debug
The variable $(TARGET_OBJECT_DIR) is pointing to $(PROJECTDIR)/obj/Debug
Where do I set the variable $(TARGET_OUTPUT_DIR) ?
BTW Is there a nicer (plattform independed) way to copy some files to the $(TARGET_OUTPUT_DIR) ?
greetings
denk_mal
-
These variables are defined internally by C::B.
-
$(TARGET_OUTPUT_DIR) is pointing to $(PROJECTDIR) and not to $(PROJECTDIR)/bin/Debug
You're right. Although it shouldn't...
The problem lies in CompileTargetBase::GetBasePath() which doesn't do what its description says. Unluckily, this can't be changed since 72 other code bits depend on it. I'll look for a workaround.
-
Fixed in revision 4339.