News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

setting Builtin Variables?

Started by denk_mal, August 01, 2007, 09:49:05 AM

Previous topic - Next topic

denk_mal

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

Biplab

These variables are defined internally by C::B.
Be a part of the solution, not a part of the problem.

thomas

Quote from: denk_mal on August 01, 2007, 09:49:05 AM$(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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

thomas

"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."